We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7164d0 commit 4792e63Copy full SHA for 4792e63
clang/test/SemaHLSL/vk.spec-constant.error.hlsl
@@ -8,7 +8,7 @@
8
const bool sc0 = true;
9
10
#ifdef __spirv__
11
-// expected-error@+2{{variable with 'vk::constant_id' attribute cannot have an initializer that is not a constexpr}}
+// expected-error@+2{{variable with 'vk::constant_id' attribute cannot have an initializer that is not a literal}}
12
[[vk::constant_id(1)]]
13
const bool sc1 = sc0; // error
14
0 commit comments