diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index 7a6d4aa38c..3b8e5e1d1b 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -91,7 +91,7 @@ enum class SpvLogicalSectionID }; // The registered id for the Slang compiler. -static const uint32_t kSPIRVSlangCompilerId = 40; +static const uint32_t kSPIRVSlangCompilerId = 40 << 16; // While the SPIR-V module is nominally (according to the spec) just // a flat sequence of instructions, in practice some of the instructions