Constant views: VICTORY_CBV_ONCE=1 gives the views of the same bytes in a list one copy until it next writes title memory #1848
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!1848
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1848"
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 00:45 UTC · original
101Leafy:nv/cbv-once→main· +77 −21 · 12 files · 4 commits · merged 2026-11-29 08:16 UTCEvery constant view in a list gets its own scratch copy of the bytes it shows, even when many views in the same list point at the same title memory.
With VICTORY_CBV_ONCE=1, views of the same bytes share one copy until the list next writes title memory. After that write a view gets a fresh copy, so it still sees the bytes as of the submission. A shared copy is filled on the CPU, not by the card, and the log counts the views that found a copy already made.
Off by default; without the switch nothing changes.
e57f8260c1to311cbba7ef