diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-08 03:05:23 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-09 22:20:36 +0200 |
commit | 4a0951733621a89a5048e7ff5d44ea4f4fbc7461 (patch) | |
tree | e14c142d265d32b2adb6e202b46c035226cc9eac /src/video_core/renderer_vulkan | |
parent | BufferCache: Additional download fixes. (diff) | |
download | yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.gz yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.bz2 yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.lz yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.xz yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.zst yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 392de47d0..9ea4b6653 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -584,7 +584,7 @@ void RasterizerVulkan::SignalReference() { if (!gpu.IsAsync()) { return; } - fence_manager.SignalReference(); + fence_manager.SignalOrdering(); } void RasterizerVulkan::ReleaseFences() { @@ -619,10 +619,7 @@ void RasterizerVulkan::WaitForIdle() { cmdbuf.SetEvent(event, flags); cmdbuf.WaitEvents(event, flags, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, {}, {}, {}); }); - if (!gpu.IsAsync()) { - return; - } - fence_manager.SignalOrdering(); + SignalReference(); } void RasterizerVulkan::FragmentBarrier() { |