From a3a5e7ea4e2ec15dd385c169578f5770f49b6e1c Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 18 Apr 2024 23:01:45 -0700 Subject: Metal: rewrite global variables as explicit context. (#3981) * Metal: rewrite global variables as explicit context. * Small tweaks. --- source/slang/slang-emit-spirv.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/slang/slang-emit-spirv.cpp') 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); -- cgit v1.2.3