Browse Source

Merge pull request #3859 from jbeich/clang

Unbreak build with Clang < 10
Mat M 6 years ago
parent
commit
5f2a9a4c86
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/video_core/fence_manager.h

+ 4 - 2
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());
             }
             }