summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorPavel Asyutchenko <sventeam@yandex.ru>2025-03-26 06:27:23 +0100
committerGitHub <noreply@github.com>2025-03-26 05:27:23 +0000
commit05f24d294917a2599d635fe2e53b75cdca26cfdd (patch)
treea0de1da02758eef1bb77c4d4c06160537985ae52 /source
parentff5e04f7f2e50466ed626193941c24b38494a785 (diff)
Fix SPV_KHR_maximal_reconvergence extension name spelling (#6687)
* Fix SPV_KHR_maximal_reconvergence extension name spelling Vulkan validation layers emit warnings on lowercase khr. * Move OpExtension check
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-emit-spirv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp
index fda7b098d..18016d5fe 100644
--- a/source/slang/slang-emit-spirv.cpp
+++ b/source/slang/slang-emit-spirv.cpp
@@ -4650,7 +4650,7 @@ struct SPIRVEmitContext : public SourceEmitterBase, public SPIRVEmitSharedContex
}
break;
case kIROp_MaximallyReconvergesDecoration:
- ensureExtensionDeclaration(UnownedStringSlice("SPV_khr_maximal_reconvergence"));
+ ensureExtensionDeclaration(UnownedStringSlice("SPV_KHR_maximal_reconvergence"));
requireSPIRVExecutionMode(nullptr, dstID, SpvExecutionModeMaximallyReconvergesKHR);
break;
case kIROp_QuadDerivativesDecoration: