AsyncGpu: Address Feedback

master
Fernando Sahmkow 2019-10-11 13:41:15 +07:00
parent 538f5880ff
commit cfc2f30dc4
2 changed files with 2 additions and 2 deletions

@ -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) {
}
}

@ -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)) {
}
}