diff options
Diffstat (limited to 'src/video_core')
| -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() { | |||
| 189 | if (!maxwell3d.ShouldExecute()) { | 189 | if (!maxwell3d.ShouldExecute()) { |
| 190 | return; | 190 | return; |
| 191 | } | 191 | } |
| 192 | FlushWork(); | ||
| 192 | 193 | ||
| 193 | query_cache.UpdateCounters(); | 194 | query_cache.UpdateCounters(); |
| 194 | 195 | ||
| @@ -259,6 +260,8 @@ void RasterizerVulkan::Clear() { | |||
| 259 | } | 260 | } |
| 260 | 261 | ||
| 261 | void RasterizerVulkan::DispatchCompute() { | 262 | void RasterizerVulkan::DispatchCompute() { |
| 263 | FlushWork(); | ||
| 264 | |||
| 262 | ComputePipeline* const pipeline{pipeline_cache.CurrentComputePipeline()}; | 265 | ComputePipeline* const pipeline{pipeline_cache.CurrentComputePipeline()}; |
| 263 | if (!pipeline) { | 266 | if (!pipeline) { |
| 264 | return; | 267 | return; |