summaryrefslogtreecommitdiffstats
path: root/src/video_core/fence_manager.h
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-05-02 01:08:41 +0200
committerJan Beich <jbeich@FreeBSD.org>2020-05-02 01:38:23 +0200
commitb4d0724a63e0edb09c8bf057bbbf247fdf2d8427 (patch)
treef1e45f78f22702a3692e0f4a0134409d4ed89415 /src/video_core/fence_manager.h
parentMerge pull request #3857 from ogniK5377/GetGpuTime-StackCorruption (diff)
downloadyuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar.gz
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar.bz2
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar.lz
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar.xz
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.tar.zst
yuzu-b4d0724a63e0edb09c8bf057bbbf247fdf2d8427.zip
Diffstat (limited to 'src/video_core/fence_manager.h')
-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());
}