Prune the list of the GPU's uniform writes with uniform snapshots switched off too: there it was appended on every write and never shortened.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-10 23:27:51 -05:00
parent 7966181115
commit a96328e967

View File

@@ -357,6 +357,7 @@ void vk_usnap_begin(const uint64_t *handles, int n, uint64_t fence) {
summary();
if (!RT_KNOB_ON(U.mode - 1)) {
U.off_subs++;
wr_prune(); // vk_usnap_drop goes on listing the GPU's writes with snapshots off: without this the list only grew
return;
}
if (adopt(handles, n)) return;