mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-10-26 01:11:20 -05:00
fix LatteDecompilerAnalyzer checking for metal and then refusing metal lol
This commit is contained in:
@@ -403,11 +403,9 @@ void LatteDecompiler_analyzeExport(LatteDecompilerShaderContext* shaderContext,
|
||||
}
|
||||
else if (cfInstruction->exportType == 0 && cfInstruction->exportArrayBase == 61)
|
||||
{
|
||||
#ifdef ENABLE_METAL
|
||||
// Only check for depth buffer mask on Metal, as its not in the PS hash on other backends
|
||||
if (g_renderer->GetType() != RendererAPI::Metal || LatteMRT::GetActiveDepthBufferMask(*shaderContext->contextRegistersNew))
|
||||
shader->depthMask = true;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
debugBreakpoint();
|
||||
|
||||
Reference in New Issue
Block a user