diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index d94be9c9df..da7359d4d4 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -72,7 +72,7 @@ void GPU::WaitFence(u32 syncpoint_id, u32 value) const { return; } MICROPROFILE_SCOPE(GPU_wait); - while (syncpoints[syncpoint_id].load() < value) { + while (syncpoints[syncpoint_id].load(std::memory_order_relaxed) < value) { } } diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 4a42634d2c..758a37f14c 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -91,7 +91,7 @@ void ThreadManager::FlushAndInvalidateRegion(CacheAddr addr, u64 size) { } void ThreadManager::WaitIdle() const { - while (state.last_fence > state.signaled_fence.load()) { + while (state.last_fence > state.signaled_fence.load(std::memory_order_relaxed)) { } }