diff options
| author | Pavel Asyutchenko <sventeam@yandex.ru> | 2025-03-26 06:27:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-26 05:27:23 +0000 |
| commit | 05f24d294917a2599d635fe2e53b75cdca26cfdd (patch) | |
| tree | a0de1da02758eef1bb77c4d4c06160537985ae52 /source/slang/slang-emit-spirv.cpp | |
| parent | ff5e04f7f2e50466ed626193941c24b38494a785 (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/slang/slang-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 2 |
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: |
