|
@@ -36,7 +36,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) const noexcept {
|
|
[[nodiscard]] bool IsFree(u64 tick) const noexcept {
|
|
|
- return gpu_tick.load(std::memory_order_relaxed) >= tick;
|
|
|
|
|
|
|
+ return KnownGpuTick() >= tick;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// Advance to the logical tick.
|
|
/// Advance to the logical tick.
|