From a3a9ffefdd54fdddeb2efde240d2599645280663 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 7 Mar 2025 12:21:11 -0800 Subject: Fix SPIRV generator ID. (#6536) --- source/slang/slang-emit-spirv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index 7a6d4aa38..3b8e5e1d1 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 -- cgit v1.2.3