diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-22 00:56:07 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-22 00:56:07 +0200 |
commit | cf116a28a633adceb83eea2a9ab35ea448c62bb6 (patch) | |
tree | 1829f6848c61c58961294c0edcf0e15f2fe2554f /src/video_core/renderer_vulkan/vk_master_semaphore.h | |
parent | Merge pull request #6499 from FernandoS27/we-were-on-a-break (diff) | |
download | yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar.gz yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar.bz2 yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar.lz yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar.xz yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.tar.zst yuzu-cf116a28a633adceb83eea2a9ab35ea448c62bb6.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_master_semaphore.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_master_semaphore.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.h b/src/video_core/renderer_vulkan/vk_master_semaphore.h index 4b6d64daa..ee3cd35d0 100644 --- a/src/video_core/renderer_vulkan/vk_master_semaphore.h +++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h @@ -65,11 +65,10 @@ public: } private: - vk::Semaphore semaphore; ///< Timeline semaphore. - std::atomic<u64> gpu_tick{0}; ///< Current known GPU tick. - std::atomic<u64> current_tick{1}; ///< Current logical tick. - std::atomic<bool> shutdown{false}; ///< True when the object is being destroyed. - std::thread debug_thread; ///< Debug thread to workaround validation layer bugs. + vk::Semaphore semaphore; ///< Timeline semaphore. + std::atomic<u64> gpu_tick{0}; ///< Current known GPU tick. + std::atomic<u64> current_tick{1}; ///< Current logical tick. + std::jthread debug_thread; ///< Debug thread to workaround validation layer bugs. }; } // namespace Vulkan |