Skip old title reads for fully overwritten textures #2299
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!2299
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2299"
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?
@P2GR on GitHub · 2026-11-29 11:34 UTC · original
P2GR:contrib/skip-overwritten-texture-read-bytes→main· +109 −6 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCWhat it changes
VICTORY_TEXBACK_FULL_OVERWRITE=1avoids reading all old destination pixels when one single-sampled, addressable 2D subresource covers the entire native allocation. It probes one byte per native page and keeps the existing full read for padding, additional subresources, software-mapped views andVICTORY_TEXBACK_SAME=1comparisons. It is off by default.How it was tested
R32G32_FLOATreadbacks with the switch off and on. The enabled path skipped 26,208,000 old title bytes per 50-readback batch in both readback-pool modes. The comparison mode skipped zero bytes and kept the same output.victory-gputests passed with the diagnostics-build fix from #2208 applied locally.Checked for overlap
mainand open PRs. #876 reuses readback resources. #881 concerns unsupported layouts.