aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-16 16:24:37 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 11:36:08 -0400
commit339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b (patch)
treec9a583f3a581fd52cef4d77c2c82d4d9a1e9c1fe /src/video_core/gpu.cpp
parent8b1eb44b3ed5483071dc6754662a277b45e4a809 (diff)
GPU: Delay Fences.
Diffstat (limited to 'src/video_core/gpu.cpp')
-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 13bca5a78d..71ddfbd26e 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.