Repository navigation
GPU/draw: skip repeated output target bindings - #1215
nicolasveilleux wants to merge 1 commit into
Conversation
Adapt avatarmanz/VIctory-7900XTX ca1d519f18ccece3daf2b05191a43fae17ac6f91, itself inspired by FQY55kai/ZJOU-VICTORY acf478b8. Compare actual view descriptions and retained host identities, not title descriptor handles. Keep opt-in and avoid temporary heap allocation on cache hits.
|
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. |
Skip 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: