Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spirv_glsl.cpp')
-rw-r--r--spirv_glsl.cpp3
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.
}