[clang] [HLSL][SPIRV] Add vk::constant_id attribute. (PR #143544)
Steven Perron via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 07:01:02 PDT 2025
================
@@ -213,7 +213,8 @@ getScopeFromNormalizedScopeName(StringRef ScopeName) {
.Case("vk", AttributeCommonInfo::Scope::VK)
.Case("msvc", AttributeCommonInfo::Scope::MSVC)
.Case("omp", AttributeCommonInfo::Scope::OMP)
- .Case("riscv", AttributeCommonInfo::Scope::RISCV);
+ .Case("riscv", AttributeCommonInfo::Scope::RISCV)
+ .Case("vk", AttributeCommonInfo::Scope::HLSL);
----------------
s-perron wrote:
I'll have to look into that. I added it because I was getting an error. I may have something else wrong.
https://github.com/llvm/llvm-project/pull/143544
More information about the cfe-commits
mailing list