yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

AsyncGpu: Address Feedback

This commit is contained in:
Fernando Sahmkow 2019-10-11 13:41:15 -04:00
parent 538f5880ff
commit cfc2f30dc4
2 changed files with 2 additions and 2 deletions

View File

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

View File

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