summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-05-02 05:39:12 +0200
committerGitHub <noreply@github.com>2020-05-02 05:39:12 +0200
commit5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361 (patch)
tree719b1e07cce69aa258381b89eecf56dd2ec45107 /src/video_core
parentMerge pull request #3833 from qwell/caps_su-32-stub (diff)
parentfixed_pipeline_state: explicitly use template keyword after 1f345ebe3a55 (diff)
downloadyuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar.gz
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar.bz2
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar.lz
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar.xz
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.tar.zst
yuzu-5f2a9a4c8612d96fa70b3ca386e9de22aa9b8361.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/fence_manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h
index dabd1588c..8b2a6a42c 100644
--- a/src/video_core/fence_manager.h
+++ b/src/video_core/fence_manager.h
@@ -88,7 +88,8 @@ public:
}
PopAsyncFlushes();
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 {
gpu.IncrementSyncPoint(current_fence->GetPayload());
}
@@ -134,7 +135,8 @@ private:
}
PopAsyncFlushes();
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 {
gpu.IncrementSyncPoint(current_fence->GetPayload());
}