diff options
author | Liam <byteslice@airmail.cc> | 2023-03-10 02:58:37 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-12 22:19:44 +0100 |
commit | 3f261f22c981cbdc31ce079f0fd06789e78053e3 (patch) | |
tree | 6655c06f9f3a636423f280958bd03f210efbe388 /src/video_core/renderer_vulkan/vk_scheduler.h | |
parent | Merge pull request #9916 from liamwhite/fpu (diff) | |
download | yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar.gz yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar.bz2 yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar.lz yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar.xz yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.tar.zst yuzu-3f261f22c981cbdc31ce079f0fd06789e78053e3.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_scheduler.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_scheduler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.h b/src/video_core/renderer_vulkan/vk_scheduler.h index bd4cb0f7e..8d75ce987 100644 --- a/src/video_core/renderer_vulkan/vk_scheduler.h +++ b/src/video_core/renderer_vulkan/vk_scheduler.h @@ -232,10 +232,10 @@ private: std::queue<std::unique_ptr<CommandChunk>> work_queue; std::vector<std::unique_ptr<CommandChunk>> chunk_reserve; + std::mutex execution_mutex; std::mutex reserve_mutex; - std::mutex work_mutex; - std::condition_variable_any work_cv; - std::condition_variable wait_cv; + std::mutex queue_mutex; + std::condition_variable_any event_cv; std::jthread worker_thread; }; |