Textures written behind their guards are hashed at every check (intro video showed old frames) #701
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/701"
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 traeb0n on 2026-11-25T05:00:09Z.
What was wrong
The intro video (the collage that turns into the logo) flashed and stuttered: the screen cycled through three frames, one current and two from up to two seconds earlier.
The video decodes into a ring of three plane sets (luma 3840x2160 and two 1920x1080 chroma, R8) in view memory, written through another view. Those textures have no write watch and are guarded, so the guard never fires. The only thing that finds the change is the hash on the texture's eighth-frame turn. The YUV-to-RGB draw (pixel
3bfe730f7e24ee1a) reads a different set each frame, and a set's use and its turn line up only about every 24 frames.Evidence:
VICTORY_CAPTURE_FRAMES+VICTORY_DUMP_TARGETSshowed the planes uploaded only twice in 12 captured frames, while the draw read a different set every frame.The change (
texture.rsonly)Last::behind_guard).VICTORY_TEXTURE_BEHIND_GUARD=0restores the old behaviour.Result (RTX 5070, i7-14700K)
Tested on top of
310c6eb.cargo check -p victory-gpuis clean apart from an existing dead-code warning.🤖 Generated with Claude Code
Imported from fxceless/victory-fork. Originally posted by traeb0n on 2026-11-28T04:19:54Z.
Closing: superseded by VItoriaBr 5668b8b and the fork's VICTORY_VIEW_GUARD work. Thanks!
Pull request closed