Textures picked by index: keep looking at the ones the title paints through another view (VICTORY_PAINTED_EVERY) #1573
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!1573
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1573"
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?
@lexical-scope on GitHub · 2026-11-28 21:52 UTC · original
lexical-scope:pr-painted-textures→main· +77 −4 · 2 files · 3 commits · merged 2026-11-29 08:16 UTCTextures picked by index: keep looking at the ones the title paints through another view (
VICTORY_PAINTED_EVERY=<frames>, off by default)What
Some textures picked by index are repainted by the title through another view of their pages: their memory is mapped at other addresses too, and the title writes it there. Nothing tells us of such a write (no descriptor write, no runtime call), so the only thing that finds it is the recheck look (
RECHECK_FRAMES). After a look finds such a change, the slot is looked at again the next frame, then 12, 40, 120 and 400 frames on, and never again after the fifth look finds it unchanged. Between looks the texture is shown as it was, up to 40 frames before, and after the last look until its slot is written again.With
VICTORY_PAINTED_EVERY=<frames>(at most 120):<frames>frames, with no end (its look count is set toPAINTED,u8::MAX).RECHECK_FRAMES.Unset or
0: unchanged. A look reads 48 KiB.In the F1 menu it is REPAINTED TEXTURES (beside TEXTURE NO WAIT): OFF, EVERY FRAME (
1), EVERY 4 FRAMES (4). OFF comes first, as the launcher starts; it takes effect at the next start.Why
RTX 3080 Ti, Windows 11, Series S profile,
-Dlss off, diagnostics build, from the log'sa texture picked by index changed after its upload with nothing to tell of itwarnings:blocks_shown_elsewhere≥ 1. The changes were found 13 and 53 frames after the upload (median 53), on the schedule's looks: 1 + 12, 1 + 12 + 40.Frame times did not change measurably at the same draw counts. In play, specular and the textures that used to lag looked better.
Tests
cargo clippy -p victory-gpu --all-targets --locked, with and without--all-features: no warnings indraw.rsorhost/menu.rs.cargo test -p victory-gpu --lib --locked: 550 passed, the menu's 8 among them (every line fits, every character has a picture).cargo xtask policyfails onmainalready (crates/victory-shader/src/emit/lower.rsis over its size limit); nothing in this PR touches it.923e38ccfor several runs withVICTORY_PAINTED_EVERY=1.Not done
🤖 Generated with Claude Code