prepone compilation for rect geometry shaders

This commit is contained in:
Samuliak 2024-10-10 18:53:22 +02:00
parent bdfac965e0
commit 03bc647e1c
No known key found for this signature in database

View File

@ -178,6 +178,7 @@ static RendererShaderMtl* rectsEmulationGS_generate(MetalRenderer* metalRenderer
gsSrc.append("}\r\n");
auto mtlShader = new RendererShaderMtl(metalRenderer, RendererShader::ShaderType::kGeometry, 0, 0, false, false, gsSrc);
mtlShader->PreponeCompilation(true);
return mtlShader;
}