mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
vk_master_semaphore: Add missing const qualifier for IsFree()
This member function doesn't modify class state.
This commit is contained in:
parent
26d60014d0
commit
c5f5d6e7f6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns true when a tick has been hit by the GPU.
|
/// 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;
|
return gpu_tick.load(std::memory_order_relaxed) >= tick;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue