diff options
Diffstat (limited to 'source/operand.cpp')
-rw-r--r-- | source/operand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/operand.cpp b/source/operand.cpp index bff36a26..6d83e81e 100644 --- a/source/operand.cpp +++ b/source/operand.cpp @@ -579,8 +579,8 @@ std::function<bool(unsigned)> spvOperandCanBeForwardDeclaredFunction( std::function<bool(unsigned)> spvDbgInfoExtOperandCanBeForwardDeclaredFunction( spv_ext_inst_type_t ext_type, uint32_t key) { // The Vulkan debug info extended instruction set is non-semantic so allows no - // forward references ever. - if (ext_type == SPV_EXT_INST_TYPE_NONSEMANTIC_VULKAN_DEBUGINFO_100) { + // forward references ever + if (ext_type == SPV_EXT_INST_TYPE_NONSEMANTIC_SHADER_DEBUGINFO_100) { return [](unsigned) { return false; }; } |