Fix stale frames in the opening video #489
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by ballade0d on 2026-11-25T01:28:07Z.
Summary
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.