VideoCore: Fix OGL cache invalidation.

This commit is contained in:
Fernando Sahmkow 2023-01-07 21:56:17 -05:00
parent 66e4a48b75
commit efbb6fe288
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;