Skip to content

Commit a3a9ffe

Browse files
authored
Fix SPIRV generator ID. (shader-slang#6536)
1 parent 5012c31 commit a3a9ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/slang/slang-emit-spirv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ enum class SpvLogicalSectionID
9191
};
9292

9393
// The registered id for the Slang compiler.
94-
static const uint32_t kSPIRVSlangCompilerId = 40;
94+
static const uint32_t kSPIRVSlangCompilerId = 40 << 16;
9595

9696
// While the SPIR-V module is nominally (according to the spec) just
9797
// a flat sequence of instructions, in practice some of the instructions

0 commit comments

Comments
 (0)