summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit-spirv.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-04-18 23:01:45 -0700
committerGitHub <noreply@github.com>2024-04-18 23:01:45 -0700
commita3a5e7ea4e2ec15dd385c169578f5770f49b6e1c (patch)
tree3c7a75a3ca0f8c38f5f92871629947b812865234 /source/slang/slang-emit-spirv.cpp
parenta2b9e376b2d54283000a0fe0c48e6e1912d8a333 (diff)
Metal: rewrite global variables as explicit context. (#3981)
* Metal: rewrite global variables as explicit context. * Small tweaks.
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
-rw-r--r--source/slang/slang-emit-spirv.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp
index 2b85be8c7..b5a94cf0d 100644
--- a/source/slang/slang-emit-spirv.cpp
+++ b/source/slang/slang-emit-spirv.cpp
@@ -520,10 +520,7 @@ struct SPIRVEmitContext
// > Version nuumber
//
- // TODO(JS):
- // Was previously set to SpvVersion, but that doesn't work since we
- // upgraded to SPIR-V headers 1.6. (It would lead to validation errors during vk tests)
- // For now mark as version 1.5.0
+ // We are targeting SPIRV 1.5 for now.
static const uint32_t spvVersion1_5_0 = 0x00010500;
m_words.add(spvVersion1_5_0);