summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-08-21 16:29:56 +0200
committerGitHub <noreply@github.com>2019-08-21 16:29:56 +0200
commitd654b3d82eed3093957223b17db12875c7752280 (patch)
tree96d52596f4590f843b3c24a1778fe7af682e0f70 /src/video_core/gpu.cpp
parentMerge pull request #2777 from ReinUsesLisp/hsetp2-fe3h-fix (diff)
parentGPU: Flush commands on every dma pusher step. (diff)
downloadyuzu-d654b3d82eed3093957223b17db12875c7752280.tar
yuzu-d654b3d82eed3093957223b17db12875c7752280.tar.gz
yuzu-d654b3d82eed3093957223b17db12875c7752280.tar.bz2
yuzu-d654b3d82eed3093957223b17db12875c7752280.tar.lz
yuzu-d654b3d82eed3093957223b17db12875c7752280.tar.xz
yuzu-d654b3d82eed3093957223b17db12875c7752280.tar.zst
yuzu-d654b3d82eed3093957223b17db12875c7752280.zip
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 1622332a4..c409af194 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -120,6 +120,10 @@ bool GPU::CancelSyncptInterrupt(const u32 syncpoint_id, const u32 value) {
return true;
}
+void GPU::FlushCommands() {
+ renderer.Rasterizer().FlushCommands();
+}
+
u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
ASSERT(format != RenderTargetFormat::NONE);