File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8255,7 +8255,7 @@ and https://microsoft.github.io/hlsl-specs/proposals/0013-wave-size-range.html
82558255def VkConstantIdDocs : Documentation {
82568256 let Category = DocCatFunction;
82578257 let Content = [{
8258- The ``vk::constant_id`` attribute specify the id for a SPIR-V specialization
8258+ The ``vk::constant_id`` attribute specifies the id for a SPIR-V specialization
82598259constant. The attribute applies to const global scalar variables. The variable must be initialized with a C++11 constexpr.
82608260In SPIR-V, the
82618261variable will be replaced with an `OpSpecConstant` with the given id.
Original file line number Diff line number Diff line change @@ -12921,7 +12921,7 @@ def err_spirv_enum_not_valid : Error<
1292112921
1292212922def err_specialization_const_lit_init
1292312923 : Error<"variable with 'vk::constant_id' attribute cannot have an "
12924- "initializer that is not a constexpr ">;
12924+ "initializer that is not a literal ">;
1292512925def err_specialization_const_missing_initializer
1292612926 : Error<
1292712927 "variable with 'vk::constant_id' attribute must have an initializer">;
You can’t perform that action at this time.
0 commit comments