summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-emit-spirv.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp
index f7d807190..8a0b9f2ed 100644
--- a/source/slang/slang-emit-spirv.cpp
+++ b/source/slang/slang-emit-spirv.cpp
@@ -6060,8 +6060,13 @@ struct SPIRVEmitContext
case SpvOpExtension:
return getSection(SpvLogicalSectionID::Extensions);
case SpvOpExecutionMode:
+ case SpvOpExecutionModeId:
return getSection(SpvLogicalSectionID::ExecutionModes);
case SpvOpDecorate:
+ case SpvOpDecorateId:
+ case SpvOpDecorateString:
+ case SpvOpMemberDecorate:
+ case SpvOpMemberDecorateString:
return getSection(SpvLogicalSectionID::Annotations);
default:
return defaultParent;