diff --git a/Source/Core/VideoCommon/Spirv.cpp b/Source/Core/VideoCommon/Spirv.cpp index 773a5463f2..b10b4eb92b 100644 --- a/Source/Core/VideoCommon/Spirv.cpp +++ b/Source/Core/VideoCommon/Spirv.cpp @@ -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);