VideoCore: Fix OGL cache invalidation.

This commit is contained in:
Fernando Sahmkow 2023-01-07 21:56:17 -05:00
parent dfbfc1b89b
commit 4cb1b7a60a
2 changed files with 6 additions and 0 deletions

View file

@ -270,6 +270,7 @@ void RasterizerVulkan::Clear(u32 layer_count) {
MICROPROFILE_SCOPE(Vulkan_Clearing);
FlushWork();
gpu_memory->FlushCaching();
query_cache.UpdateCounters();
@ -628,6 +629,7 @@ void RasterizerVulkan::TickFrame() {
}
bool RasterizerVulkan::AccelerateConditionalRendering() {
gpu_memory->FlushCaching();
if (Settings::IsGPULevelHigh()) {
// TODO(Blinkhawk): Reimplement Host conditional rendering.
return false;