summaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-07-26 14:20:43 -0400
committerGravatar FernandoS272019-07-26 16:54:22 -0400
commite52c8955595c5e3e9e88180847c8eff71356a0c2 (patch)
tree455f64cda5b55086ca10d8841d8b4a77ae900276 /src/video_core/dma_pusher.cpp
parentMerge pull request #2592 from FernandoS27/sync1 (diff)
downloadyuzu-e52c8955595c5e3e9e88180847c8eff71356a0c2.tar.gz
yuzu-e52c8955595c5e3e9e88180847c8eff71356a0c2.tar.xz
yuzu-e52c8955595c5e3e9e88180847c8eff71356a0c2.zip
GPU: Flush commands on every dma pusher step.
This commit ensures that the host gpu is constantly fed with commands to work with, while the guest gpu keeps producing the rest of the commands. This reduces syncing time between host and guest gpu.
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
-rw-r--r--src/video_core/dma_pusher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index bd036cbe8..0094fd715 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -31,6 +31,7 @@ void DmaPusher::DispatchCalls() {
31 break; 31 break;
32 } 32 }
33 } 33 }
34 gpu.FlushCommands();
34} 35}
35 36
36bool DmaPusher::Step() { 37bool DmaPusher::Step() {