diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-23 16:08:56 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-23 16:08:56 +0200 |
commit | 68f25217b879dc53721c8ae8686505f58fd1c630 (patch) | |
tree | c0fa15dd9476d0a5e7ba7c7000d223de01c71a98 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Merge pull request #11831 from liamwhite/hosversionbetween (diff) | |
download | yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar.gz yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar.bz2 yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar.lz yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar.xz yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.tar.zst yuzu-68f25217b879dc53721c8ae8686505f58fd1c630.zip |
Diffstat (limited to '')
-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 465eac37e..059b7cb40 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -13,6 +13,7 @@ #include "common/microprofile.h" #include "common/scope_exit.h" #include "common/settings.h" +#include "video_core/buffer_cache/buffer_cache.h" #include "video_core/control/channel_state.h" #include "video_core/engines/draw_manager.h" #include "video_core/engines/kepler_compute.h" @@ -285,6 +286,7 @@ void RasterizerVulkan::DrawTexture() { query_cache.NotifySegment(true); + std::scoped_lock l{texture_cache.mutex}; texture_cache.SynchronizeGraphicsDescriptors(); texture_cache.UpdateRenderTargets(false); |