Textures: hash guarded textures at every check while they are new or changing behind the guard #58
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/fxceless--victory-fork!58
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/58/head"
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?
@SlopComp on GitHub · 2026-11-24 21:00 UTC · original
SlopComp:texture-hot→main· +56 −4 · 2 files · 1 commits · closed without mergingThe 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.
@arminkhaleghirod on GitHub · 2026-11-24 21:37 UTC · original
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.
@oz-stanislav-zhukov on GitHub · 2026-11-24 22:05 UTC · original · edited 2026-11-24 23:31 UTC
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