diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-07 16:42:26 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-09 22:20:36 +0200 |
commit | cf38faee9ba6223721223c0a16b2ece2383bfc9a (patch) | |
tree | df5ee99ced794ead584ad4a8b6f498e76ebca03e /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Buffer Cache: Eliminate the AC Hack as the base game is fixed in Hades. (diff) | |
download | yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar.gz yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar.bz2 yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar.lz yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar.xz yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.tar.zst yuzu-cf38faee9ba6223721223c0a16b2ece2383bfc9a.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 687c13009..392de47d0 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -619,6 +619,10 @@ 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(); } void RasterizerVulkan::FragmentBarrier() { |