diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-12 15:33:26 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-12 15:41:23 +0200 |
commit | c5f5d6e7f6dadf16d2d175a0aaba58deacffa579 (patch) | |
tree | 35f6509c0f68a0f3c0e2e7c6c493ec35b00b6df8 | |
parent | Merge pull request #6135 from Morph1984/borderless-windowed-fullscreen (diff) | |
download | yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar.gz yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar.bz2 yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar.lz yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar.xz yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.tar.zst yuzu-c5f5d6e7f6dadf16d2d175a0aaba58deacffa579.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_master_semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.h b/src/video_core/renderer_vulkan/vk_master_semaphore.h index 2c7ed654d..60ffa6d97 100644 --- a/src/video_core/renderer_vulkan/vk_master_semaphore.h +++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h @@ -35,7 +35,7 @@ public: } /// Returns true when a tick has been hit by the GPU. - [[nodiscard]] bool IsFree(u64 tick) { + [[nodiscard]] bool IsFree(u64 tick) const noexcept { return gpu_tick.load(std::memory_order_relaxed) >= tick; } |