vk_renderpass_cache: Bring back flushes
* Idk why they were removed
This commit is contained in:
@@ -229,7 +229,7 @@ void RenderpassCache::EndRendering() {
|
|||||||
// The Mali guide recommends flushing at the end of each major renderpass
|
// The Mali guide recommends flushing at the end of each major renderpass
|
||||||
// Testing has shown this has a significant effect on rendering performance
|
// Testing has shown this has a significant effect on rendering performance
|
||||||
if (cmd_count > 20 && instance.ShouldFlush()) {
|
if (cmd_count > 20 && instance.ShouldFlush()) {
|
||||||
// scheduler.Flush();
|
scheduler.Flush();
|
||||||
cmd_count = 0;
|
cmd_count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user