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
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2102
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@101Leafy on GitHub · 2026-11-29 09:32 UTC · original
101Leafy:nv/slot-bytes-match→main· +12 −10 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCA 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.@DoubleD17 on GitHub · 2026-11-30 03:37 UTC · original · edited 2026-11-30 09:56 UTC
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