From e52c8955595c5e3e9e88180847c8eff71356a0c2 Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Fri, 26 Jul 2019 14:20:43 -0400 Subject: 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. --- src/video_core/dma_pusher.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core/dma_pusher.cpp') 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() { break; } } + gpu.FlushCommands(); } bool DmaPusher::Step() { -- cgit v1.2.3