mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
VideoCommon: enable optimizer and remove debug details when converting GLSL to SPIR-V with validation layers turned off
This commit is contained in:
parent
dda1479ecf
commit
a8b5266347
@ -132,6 +132,11 @@ CompileShaderToSPV(EShLanguage stage, APIType api_type,
|
||||
options.disassemble = false;
|
||||
options.validate = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
options.disableOptimizer = false;
|
||||
options.stripDebugInfo = true;
|
||||
}
|
||||
|
||||
glslang::GlslangToSpv(*intermediate, out_code, &logger, &options);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user