mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-03 06:24:18 +01:00
prepone compilation for rect geometry shaders
This commit is contained in:
parent
bdfac965e0
commit
03bc647e1c
@ -178,6 +178,7 @@ static RendererShaderMtl* rectsEmulationGS_generate(MetalRenderer* metalRenderer
|
|||||||
gsSrc.append("}\r\n");
|
gsSrc.append("}\r\n");
|
||||||
|
|
||||||
auto mtlShader = new RendererShaderMtl(metalRenderer, RendererShader::ShaderType::kGeometry, 0, 0, false, false, gsSrc);
|
auto mtlShader = new RendererShaderMtl(metalRenderer, RendererShader::ShaderType::kGeometry, 0, 0, false, false, gsSrc);
|
||||||
|
mtlShader->PreponeCompilation(true);
|
||||||
|
|
||||||
return mtlShader;
|
return mtlShader;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user