diff options
Diffstat (limited to 'spirv_glsl.cpp')
-rw-r--r-- | spirv_glsl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spirv_glsl.cpp b/spirv_glsl.cpp index 31af3b2d..4d2254f9 100644 --- a/spirv_glsl.cpp +++ b/spirv_glsl.cpp @@ -13283,7 +13283,8 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction) { emit_spv_amd_gcn_shader_op(ops[0], ops[1], ops[3], &ops[4], length - 4); } - else if (ext == SPIRExtension::SPV_debug_info) + else if (ext == SPIRExtension::SPV_debug_info || + ext == SPIRExtension::NonSemanticShaderDebugInfo) { break; // Ignore SPIR-V debug information extended instructions. } |