Textures: aliased R9G9B9E5 views copied texture to texture (VICTORY_ALIAS_DIRECT; from mandy) #548
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!548
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-548"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@voiceovarian1-max on GitHub · 2026-12-03 09:43 UTC · original
voiceovarian1-max:port-alias-direct→main· +113 −19 · 2 files · 1 commits · openWith VICTORY_ALIAS_DIRECT=1 (the launcher sets it; off in the code), the copy behind an aliased
R9G9B9E5 view of an R32_UINT texture goes from texture to texture, texel for texel, instead of
through a buffer: one copy of each part instead of two, no buffer of the texture's size on the
card for each view, and two state changes fewer a copy.
Ported from ProjectLeonida/mandy 42ff296c0 (NotRexed), GPL-3.0-or-later. mandy measured the
frame 2.6 ms shorter on an RTX 4060 Ti.
What is in it
crates/victory-gpu/src/texture.rs| 130 ++++++++++++++++++++++++++++++++------scripts/play-foxhound.ps1| 2 +Tested
cargo check --workspace --tests --lockedonmain7dbcdcb: no errors, no warnings.Not tested
AI use
Claude Code with Claude Opus 5.5 ported this from mandy, resolved its conflicts with this tree and wrote this description.
🤖 Generated with Claude Code
@voiceovarian1-max on GitHub · 2026-12-03 10:04 UTC · original
Combined test of this PR with #521, #543 and #544-#556, all merged onto
main7dbcdcb(branch fox-all of voiceovarian1-max/foxhound):cargo test --workspace --locked -- --test-threads=4: 1,415 passed, 0 failed, 50 ignored (29 binaries), noSKIPPED.VICTORY_KEYS, no input from the PC): window scene 38-42 fps against 34-37 formainon the same boot; no device removal, no crash; a burst of 67 pictures showed no one-picture flicker of the character's clothes.Tested by Claude Code with Claude Opus 5.5 on the hardware named.
@tillo88 on GitHub · 2026-12-04 03:40 UTC · original
Replay-bench measurement on v0.8.3.5 with
VICTORY_ALIAS_DIRECT=1: no measurable differenceMeasured: PR head
05fa0f4merged onto release v0.8.3.5 (5e44415), withVICTORY_ALIAS_DIRECT=1set (off by default in the PR), 2 measured runs (after a warm-up run that is not counted), against 7 runs of v0.8.3.5 without the PR, same route (~6.5 min).Mean fps: release 36.88, PR 36.67 (-0.6%): no measurable difference. CPU prep was 19.95 ms in run 1, above every release run (18.34-19.38), and 19.19 ms in run 2, inside the range; with 2 runs that is not a result. Run 2 had the highest p95 and p99 and the fewest frames over 100 ms; run 1 is inside the release's range on all three. The bench does not tell how often the aliased-view copy is taken on this route.
Crashes: none in the PR runs and none in the release runs (no host GPU failure, no device lost).
Config: RTX 5070 Ti 16 GB, Ryzen 7 9800X3D, 32 GB, Windows 11; default
play-foxhound.ps1settings (Series X profile, 1440p, DLSS balanced, no frame generation), fullscreen, no frame cap.Measured unattended on a replay bench (same save, recorded controller input); numbers and text prepared with Claude.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.