You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
kyty: on Windows, a translation stop in a compile-ahead job is not contained by KYTY_FALLBACKS #297
area: shadersShader recompiler, SPIR-V, pipeline creation and compile stallsarea: windowsWindows build and runtimebugSomething isn't workingmediumA few days of work; needs some knowledge of the codeneeds: WindowsNeeds a Windows machine
Found by @Ryongen in #294. On Windows, a shader translation that stops (Common::SoftExitError) inside a compile-ahead job is not contained by KYTY_FALLBACKS=1: Fallback::Containable() returns false on Windows, so the stop ends the run. Forcing Containable() to true is not a fix either: the throw then goes through the guest libc.prx__cxa_throw, whose unwinder does not find the handler in libSceAgcDriver.prx, and the process ends with terminate called after throwing an instance of 'Common::SoftExitError'.
On Linux the same stop is contained (#256 / #257 built the recompiler with exceptions for that).
What to do. Make a failed translation in a compile-ahead job on Windows end as "this program is refused" (the draw is skipped and the run goes on, as on Linux), without throwing across the guest/host module boundary. For example, catch it inside the job, in the module that throws it, and turn it into an error result, so no exception ever crosses into guest code. Keep the strict stop when KYTY_FALLBACKS is off.
Check: a Windows test where a compile-ahead job hits a translation stop: the run continues with KYTY_FALLBACKS=1, and stops as today without it. The Windows CI must stay green.
area: shadersShader recompiler, SPIR-V, pipeline creation and compile stallsarea: windowsWindows build and runtimebugSomething isn't workingmediumA few days of work; needs some knowledge of the codeneeds: WindowsNeeds a Windows machine
Activity
simnJS commentedon Nov 25, 2026
Fixed by #299 (
ce1c67df6a), thanks @Ryongen.