summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-16 21:24:37 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:08 +0200
commit339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b (patch)
treec9a583f3a581fd52cef4d77c2c82d4d9a1e9c1fe /src/video_core/gpu.cpp
parentBufferCache: Implement OnCPUWrite and SyncGuestHost (diff)
downloadyuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.gz
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.bz2
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.lz
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.xz
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.zst
yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 13bca5a78..71ddfbd26 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -145,6 +145,10 @@ void GPU::FlushCommands() {
void GPU::SyncGuestHost() {
renderer->Rasterizer().SyncGuestHost();
}
+
+void GPU::OnCommandListEnd() {
+ maxwell_3d->ReleaseFences();
+}
// Note that, traditionally, methods are treated as 4-byte addressable locations, and hence
// their numbers are written down multiplied by 4 in Docs. Here we are not multiply by 4.
// So the values you see in docs might be multiplied by 4.