GPU/draw: reuse staging for repeated unaligned root CBVs #1212
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1212
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1212"
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?
@nicolasveilleux on GitHub · 2026-11-26 00:12 UTC · original
nicolasveilleux:perf/reuse-root-cbv-scratch→main· +102 −5 · 2 files · 1 commits · openReuse submission-time scratch for repeated bindings of the same unaligned root constant-buffer view on one command-list recording. Key the bounded cache by source address and byte count, invalidate on deferred title-memory writes and reset, and leave aligned bindings unchanged. Opt in with VICTORY_REUSE_ROOT_CBV=1.
Adapted from avatarmanz/VIctory-7900XTX c96525d, itself based on romainhedouin's Belobug change 84ea9c12.
Validation
Native Windows 11 / i7-10700F / RTX 2070 Super, release tests with synthetic data only:
No gameplay FPS claim. The frequency of this path in a shipping workload is not yet measured, so this remains off by default.
@Marukooh on GitHub · 2026-11-26 17:34 UTC · original
I tried a per-list root CBV reuse port on a local Series X build (RTX 5070 Ti / Proton) with the constants heap able to use in-place placement. The synthetic case exercised reuse and invalidation. The opening scene produced zero reuse hits in the sampled windows, so I cannot attribute any frame-time gain to this path on that configuration. It would help to record miss reasons and in-place placement alongside reuse hits when comparing Windows or other memory paths.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.