diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-08 03:56:17 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-08 03:56:17 +0100 |
commit | efbb6fe28818876886c442f4b5acb39a3ab1253a (patch) | |
tree | d62e89bbc9669e4ac148d72e7ac117231537f719 /src/video_core/renderer_vulkan | |
parent | Merge pull request #9563 from german77/crash_not_allowed (diff) | |
download | yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar.gz yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar.bz2 yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar.lz yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar.xz yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.tar.zst yuzu-efbb6fe28818876886c442f4b5acb39a3ab1253a.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index ed4a72166..b75b8eec6 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -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; |