Textures: a slot keeps another texture of the same description only when its bytes match, by default, and on the show-later path too #2102
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2102"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T09:32:52Z.
A descriptor slot written with a different texture of the same description (same size and format, placed elsewhere) went on showing the old texture until the new one's upload ran, unless
VICTORY_KEEP_SHOWN=checkedwas set. Streamers reuse slots that way for unrelated textures, so a surface could show rainbow-noise texels, or a shirt could show another character's map of the same size, a different one each run.checkedis now the default: a moved texture of the same description is kept only when both memories begin and end with the same 4 KiB, which means the title really moved it. Otherwise the slot shows the neutral texture until the upload lands. A number inVICTORY_KEEP_SHOWNstill picks the old modes (0, 1, 2).The show-later path in
mirror_inneralso used its own copy of the rule and skipped the byte check. It now callskept_meanwhilelike the other path.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DoubleD17 on 2026-11-30T03:37:14Z.
We ran a picture test of this PR's default,
VICTORY_KEEP_SHOWN=checked, on main41adb551: two 150 s runs, each with bursts of 10 captures a second at 45, 90 and 130 s, 600 frames in all, looked at frame by frame.No new defects in any of the 600 frames. One burst was flagged by our detector, but it was a bird flying across. The mix-ups this PR targets (another texture of the same size shown on a surface) did not show in our scene with or without the switch, so this shows only that it does not regress anything here, not the fix itself. Frame rate was not compared: the mid-run bursts take CPU time.
Setup:
41adb551with the switch, against41adb551without it;AI Assisted