diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-06 02:48:38 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:34 +0200 |
commit | 2a0aeaa3d283f1c7f003c956ab3079f70246b008 (patch) | |
tree | 9984df6f390cb327447ba166510a5fd392b5f938 /src | |
parent | DMA: Restrict optimised path for BlockToLinear further. (diff) | |
download | yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar.gz yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar.bz2 yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar.lz yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar.xz yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.tar.zst yuzu-2a0aeaa3d283f1c7f003c956ab3079f70246b008.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 9611b480a..e72f8426b 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -189,6 +189,7 @@ void RasterizerVulkan::Clear() { if (!maxwell3d.ShouldExecute()) { return; } + FlushWork(); query_cache.UpdateCounters(); @@ -259,6 +260,8 @@ void RasterizerVulkan::Clear() { } void RasterizerVulkan::DispatchCompute() { + FlushWork(); + ComputePipeline* const pipeline{pipeline_cache.CurrentComputePipeline()}; if (!pipeline) { return; |