Browse Source

Merge pull request #3859 from jbeich/clang

Unbreak build with Clang < 10
nce_cpp
Mat M 6 years ago
committed by GitHub
parent
commit
e2164f8aa7
  1. 6
      src/video_core/fence_manager.h

6
src/video_core/fence_manager.h

@ -88,7 +88,8 @@ public:
} }
PopAsyncFlushes(); PopAsyncFlushes();
if (current_fence->IsSemaphore()) { if (current_fence->IsSemaphore()) {
memory_manager.Write<u32>(current_fence->GetAddress(), current_fence->GetPayload());
memory_manager.template Write<u32>(current_fence->GetAddress(),
current_fence->GetPayload());
} else { } else {
gpu.IncrementSyncPoint(current_fence->GetPayload()); gpu.IncrementSyncPoint(current_fence->GetPayload());
} }
@ -134,7 +135,8 @@ private:
} }
PopAsyncFlushes(); PopAsyncFlushes();
if (current_fence->IsSemaphore()) { if (current_fence->IsSemaphore()) {
memory_manager.Write<u32>(current_fence->GetAddress(), current_fence->GetPayload());
memory_manager.template Write<u32>(current_fence->GetAddress(),
current_fence->GetPayload());
} else { } else {
gpu.IncrementSyncPoint(current_fence->GetPayload()); gpu.IncrementSyncPoint(current_fence->GetPayload());
} }

Loading…
Cancel
Save