Textures: hash guarded textures at every check while they are new or changing behind the guard #58
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/58"
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?
Imported from fxceless/victory-fork. Originally posted by SlopComp on 2026-11-24T21:00:28Z.
The opening star screen, the logo video and the loading animation flickered: the title writes these textures in a way the texture guard doesn't catch, so changes were only picked up by the every-8th-frame hash and older pictures kept showing.
A guarded texture is now hashed at every check for its first 64 frames, and for another 64 each time the hash finds a change the guard missed. Textures that don't change go back to the 8-frame hash.
VICTORY_TEXTURE_HOT=0turns it off.Tested on an RTX 5080: the flicker is gone apart from a blink on the first frame.
Imported from fxceless/victory-fork. Originally posted by arminkhaleghirod on 2026-11-24T21:37:17Z.
Tested
c5b12f1on an RTX 4080 (Windows 11, Series X, default settings). I saved every frame of the startup animation (550 to 1000) and counted frames that jump back (n and n+2 match, n+1 doesn't):90228a7VICTORY_TEXTURE_GUARD=0Fixes #39 here too. I'm closing my #63 (same idea) in favour of this one.
Imported from fxceless/victory-fork. Originally posted by oz-stanislav-zhukov on 2026-11-24T22:05:52Z.
Confirmed on Windows 10 Pro 22H2 (19045), RTX 5060 Ti 16 GB (driver 621.24), i7-14700KF, 64 GB, Series X profile, release build.
Tree:
main(4e17478) + #22 + this PR (c5b12f1), merged locally without conflicts. Speed switches on (VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024).cargo test -p victory-gpu: 110 passed, 0 failed, 1 ignored.Hardware report for this machine: #148
AI-assisted (Claude Code, Claude Opus 5.5).
Pull request closed