vk_renderpass_cache: Bring back flushes

* Idk why they were removed
This commit is contained in:
GPUCode
2023-03-08 16:01:32 +02:00
parent b3e0078041
commit 911fe5610c

View File

@ -229,7 +229,7 @@ void RenderpassCache::EndRendering() {
// The Mali guide recommends flushing at the end of each major renderpass
// Testing has shown this has a significant effect on rendering performance
if (cmd_count > 20 && instance.ShouldFlush()) {
// scheduler.Flush();
scheduler.Flush();
cmd_count = 0;
}
}