GPU/draw: skip repeated output target bindings #1215
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!1215
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1215"
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:18 UTC · original
nicolasveilleux:perf/reuse-output-target-binds→main· +163 −4 · 2 files · 1 commits · openSkip redundant output-target binds when the ordered color views and the depth view match the last binding on this command-list recording. Match original descriptor contents and retained host resource identities, not the title's descriptor handles. Keep normal binding for changed views, invalidate on replay and reset, and leave the experiment off by default (VICTORY_REUSE_TARGET_BINDS=1).
Adapted from avatarmanz/VIctory-7900XTX ca1d519, inspired by FQY55kai/ZJOU-VICTORY acf478b8.
Validation
Native Windows 11 / i7-10700F / RTX 2070 Super:
@UwUCammie on GitHub · 2026-11-26 00:37 UTC · original
I tested this alongside #1212 on an RX 7900 XT, Ryzen 7 9700X, RADV 26.3.1 and Wine 11.22. Both runs used the same binary, including #1200, and reached the first room. With target-bind and root-CBV reuse on, it counted 699 accepted presents in 73.92 s (9.46 FPS). With both off it counted 731 in 73.57 s (9.94 FPS). One pair on a shared desktop leaves the frame-time effect unresolved.
Across the measured intervals, the enabled build skipped 7,689 target binds and recorded zero root-CBV cache hits. Pipeline retention stayed enabled on both sides. The target-rewrite and command-list replay test passed on the physical adapter. For anyone combining these with the retained-capacity reset from #1059, both new recording caches need clearing on reset. Tested source and counters.
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.