From 88fd491ed5f70af7c819ab31c46c18cf68f3cc82 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 29 Jul 2022 03:37:56 +0530 Subject: [PATCH] Submit after Maxwell3D Semaphore Release Any semaphore releases are implicit synchronization events that can be utilized by the guest to pick up that the GPU has executed till a certain point and therefore we must submit all prior work accordingly. --- app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp index cfc4dcb8..fd8c2976 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp +++ b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp @@ -690,6 +690,7 @@ namespace skyline::soc::gm20b::engine::maxwell3d { switch (info.op) { case type::SemaphoreInfo::Op::Release: + channelCtx.executor.Submit(); WriteSemaphoreResult(registers.semaphore->payload); break;