aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-16 09:51:37 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 11:36:06 -0400
commitc689dc680439998213a157f8954920776545cbfb (patch)
treea1604f3cf9abe9128d26834f9c68161ecab6e204 /src/video_core/gpu.cpp
parent0a62525e65015589a822debfd2e92ba5e8d51455 (diff)
GPU: Refactor synchronization on Async GPU
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index a606f4abdb..13bca5a78d 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -142,6 +142,9 @@ void GPU::FlushCommands() {
renderer->Rasterizer().FlushCommands();
}
+void GPU::SyncGuestHost() {
+ renderer->Rasterizer().SyncGuestHost();
+}
// 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.