Fix stale frames in the opening video #489
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!489
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-489"
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?
@ballade0d on GitHub · 2026-11-25 01:28 UTC · original
ballade0d:fix/intro-video-texture-refresh→main· +17 −4 · 1 files · 1 commits · openSummary
The opening video can replay three stale frames in rotation. The decoder's sampled planes are single-layer, single-mip linear
R8_UNORMtextures. Writes through a different view of the same pages could escape the guards on the sampled view. The existing periodic hash then leaves those planes stale between checks.For textures with that layout, use the existing content hash whenever the normal write-watch path is unavailable. The hash still gates detiling and upload.
Verification
c96b4f2, frames 300–305 repeated A, B, C, A, B, C. Frames 300–317 and 364–369 contained 8 distinct frame hashes among 24 captures.VICTORY_TEXTURE_GUARDalso cleared the loop on the original checkout.texture::unit tests and a release startup smoke test.The format and layout rule can also match non-video textures. Gameplay texture refresh cost and an automated alias-write regression still need validation.
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.