diff --git a/runtime/vk_usnap.c b/runtime/vk_usnap.c index 29a89f3d..280aa9f4 100644 --- a/runtime/vk_usnap.c +++ b/runtime/vk_usnap.c @@ -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;