summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-12 15:41:53 +0200
committerLioncash <mathew1800@gmail.com>2021-04-12 15:41:55 +0200
commit9b331a5fb537336e4bbca575fde974d4e465c792 (patch)
treee1bff7603b5790cfa8dd9899b329be3f0147ec5d /src
parentvk_master_semaphore: Add missing const qualifier for IsFree() (diff)
downloadyuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar.gz
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar.bz2
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar.lz
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar.xz
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.tar.zst
yuzu-9b331a5fb537336e4bbca575fde974d4e465c792.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_master_semaphore.h2
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 60ffa6d97..4b6d64daa 100644
--- a/src/video_core/renderer_vulkan/vk_master_semaphore.h
+++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h
@@ -36,7 +36,7 @@ public:
/// Returns true when a tick has been hit by the GPU.
[[nodiscard]] bool IsFree(u64 tick) const noexcept {
- return gpu_tick.load(std::memory_order_relaxed) >= tick;
+ return KnownGpuTick() >= tick;
}
/// Advance to the logical tick.