From e65707cd9dc2b8523cf220d053ee1392af52b103 Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Thu, 7 Jul 2022 01:17:26 +0530 Subject: [PATCH] Handle `CommandExecutor` submission at end of `ChannelGpfifo` PB Any work that was done in a `ChannelGpfifo` pushbuffer needs to be submitted at the end of it, if it isn't done then the work might incorrectly be not done till the next submission. This commit fixes it by calling `CommandExecutor::Submit` at the end of a pushbuffer, submitting any buffers that would've been left over. Co-authored-by: Billy Laws --- app/src/main/cpp/skyline/soc/gm20b/gpfifo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/skyline/soc/gm20b/gpfifo.cpp b/app/src/main/cpp/skyline/soc/gm20b/gpfifo.cpp index 189d04e2..a3320061 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/gpfifo.cpp +++ b/app/src/main/cpp/skyline/soc/gm20b/gpfifo.cpp @@ -337,6 +337,7 @@ namespace skyline::soc::gm20b { } channelCtx.maxwell3D->FlushEngineState(); + channelCtx.executor.Submit(); } void ChannelGpfifo::Run() {