Lines Matching refs:BuiltIn
89 << " is decorated with BuiltIn. BuiltIn decoration should only be "
124 spv::BuiltIn builtIn;
130 {spv::BuiltIn::SubgroupEqMask, {0, 4370, 4371}},
131 {spv::BuiltIn::SubgroupGeMask, {0, 4372, 4373}},
132 {spv::BuiltIn::SubgroupGtMask, {0, 4374, 4375}},
133 {spv::BuiltIn::SubgroupLeMask, {0, 4376, 4377}},
134 {spv::BuiltIn::SubgroupLtMask, {0, 4378, 4379}},
135 {spv::BuiltIn::SubgroupLocalInvocationId, {0, 4380, 4381}},
136 {spv::BuiltIn::SubgroupSize, {0, 4382, 4383}},
137 {spv::BuiltIn::GlobalInvocationId, {4236, 4237, 4238}},
138 {spv::BuiltIn::LocalInvocationId, {4281, 4282, 4283}},
139 {spv::BuiltIn::NumWorkgroups, {4296, 4297, 4298}},
140 {spv::BuiltIn::NumSubgroups, {4293, 4294, 4295}},
141 {spv::BuiltIn::SubgroupId, {4367, 4368, 4369}},
142 {spv::BuiltIn::WorkgroupId, {4422, 4423, 4424}},
143 {spv::BuiltIn::HitKindKHR, {4242, 4243, 4244}},
144 {spv::BuiltIn::HitTNV, {4245, 4246, 4247}},
145 {spv::BuiltIn::InstanceCustomIndexKHR, {4251, 4252, 4253}},
146 {spv::BuiltIn::InstanceId, {4254, 4255, 4256}},
147 {spv::BuiltIn::RayGeometryIndexKHR, {4345, 4346, 4347}},
148 {spv::BuiltIn::ObjectRayDirectionKHR, {4299, 4300, 4301}},
149 {spv::BuiltIn::ObjectRayOriginKHR, {4302, 4303, 4304}},
150 {spv::BuiltIn::ObjectToWorldKHR, {4305, 4306, 4307}},
151 {spv::BuiltIn::WorldToObjectKHR, {4434, 4435, 4436}},
152 {spv::BuiltIn::IncomingRayFlagsKHR, {4248, 4249, 4250}},
153 {spv::BuiltIn::RayTminKHR, {4351, 4352, 4353}},
154 {spv::BuiltIn::RayTmaxKHR, {4348, 4349, 4350}},
155 {spv::BuiltIn::WorldRayDirectionKHR, {4428, 4429, 4430}},
156 {spv::BuiltIn::WorldRayOriginKHR, {4431, 4432, 4433}},
157 {spv::BuiltIn::LaunchIdKHR, {4266, 4267, 4268}},
158 {spv::BuiltIn::LaunchSizeKHR, {4269, 4270, 4271}},
159 {spv::BuiltIn::FragInvocationCountEXT, {4217, 4218, 4219}},
160 {spv::BuiltIn::FragSizeEXT, {4220, 4221, 4222}},
161 {spv::BuiltIn::FragStencilRefEXT, {4223, 4224, 4225}},
162 {spv::BuiltIn::FullyCoveredEXT, {4232, 4233, 4234}},
163 {spv::BuiltIn::CullMaskKHR, {6735, 6736, 6737}},
164 {spv::BuiltIn::BaryCoordKHR, {4154, 4155, 4156}},
165 {spv::BuiltIn::BaryCoordNoPerspKHR, {4160, 4161, 4162}},
169 uint32_t GetVUIDForBuiltin(spv::BuiltIn builtIn, VUIDError type) {
181 bool IsExecutionModelValidForRtBuiltIn(spv::BuiltIn builtin,
184 case spv::BuiltIn::HitKindKHR:
185 case spv::BuiltIn::HitTNV:
191 case spv::BuiltIn::InstanceCustomIndexKHR:
192 case spv::BuiltIn::InstanceId:
193 case spv::BuiltIn::RayGeometryIndexKHR:
194 case spv::BuiltIn::ObjectRayDirectionKHR:
195 case spv::BuiltIn::ObjectRayOriginKHR:
196 case spv::BuiltIn::ObjectToWorldKHR:
197 case spv::BuiltIn::WorldToObjectKHR:
207 case spv::BuiltIn::IncomingRayFlagsKHR:
208 case spv::BuiltIn::RayTminKHR:
209 case spv::BuiltIn::RayTmaxKHR:
210 case spv::BuiltIn::WorldRayDirectionKHR:
211 case spv::BuiltIn::WorldRayOriginKHR:
212 case spv::BuiltIn::CullMaskKHR:
223 case spv::BuiltIn::LaunchIdKHR:
224 case spv::BuiltIn::LaunchSizeKHR:
254 // Goes through all decorations in the module, if decoration is BuiltIn
265 // by |inst| is decorated with BuiltIn |decoration|.
268 // BuiltIn.
362 // 2. dependent on |built_in_inst| which is decorated with BuiltIn
365 // multiple kinds of BuiltIn.
554 // |decoration| - BuiltIn decoration which causes the restriction.
638 // (OpTypeStruct) which is decorated with BuiltIn Position".
725 ss << " which is decorated with BuiltIn ";
1121 << GetIdDesc(built_in_inst) << " which is decorated with BuiltIn "
1154 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance) ? 4190 : 4199;
1156 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
1168 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance) ? 4188 : 4197;
1171 "Vulkan spec doesn't allow BuiltIn ClipDistance/CullDistance to be "
1178 "Vulkan spec doesn't allow BuiltIn ClipDistance/CullDistance to be "
1185 "Vulkan spec doesn't allow BuiltIn ClipDistance/CullDistance to be "
1194 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance) ? 4189 : 4198;
1197 "Vulkan spec doesn't allow BuiltIn ClipDistance/CullDistance to be "
1213 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance)
1218 << "According to the Vulkan spec BuiltIn "
1241 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance)
1247 << "According to the Vulkan spec BuiltIn "
1262 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance)
1268 << "According to the Vulkan spec BuiltIn "
1283 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::ClipDistance) ? 4187 : 4196;
1285 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
1318 << " spec BuiltIn FragCoord "
1341 << " spec allows BuiltIn FragCoord to be only used for "
1353 << " spec allows BuiltIn FragCoord to be used only with "
1380 << " spec BuiltIn FragDepth "
1402 << " spec allows BuiltIn FragDepth to be only used for "
1414 << " spec allows BuiltIn FragDepth to be used only with "
1430 "declared when using BuiltIn FragDepth. "
1456 << " spec BuiltIn FrontFacing "
1478 << " spec allows BuiltIn FrontFacing to be only used for "
1490 << " spec allows BuiltIn FrontFacing to be used only with "
1516 << "According to the Vulkan spec BuiltIn HelperInvocation "
1538 << "Vulkan spec allows BuiltIn HelperInvocation to be only used "
1549 << "Vulkan spec allows BuiltIn HelperInvocation to be used only "
1576 << "According to the Vulkan spec BuiltIn InvocationId "
1598 << "Vulkan spec allows BuiltIn InvocationId to be only used for "
1610 << "Vulkan spec allows BuiltIn InvocationId to be used only "
1637 << " spec BuiltIn InstanceIndex "
1659 << " spec allows BuiltIn InstanceIndex to be only used for "
1671 << " spec allows BuiltIn InstanceIndex to be used only "
1697 << "According to the Vulkan spec BuiltIn PatchVertices "
1719 << "Vulkan spec allows BuiltIn PatchVertices to be only used for "
1731 << "Vulkan spec allows BuiltIn PatchVertices to be used only "
1758 << "According to the Vulkan spec BuiltIn PointCoord "
1781 << "Vulkan spec allows BuiltIn PointCoord to be only used for "
1792 << "Vulkan spec allows BuiltIn PointCoord to be used only with "
1827 << "Vulkan spec allows BuiltIn PointSize to be only used for "
1838 "Vulkan spec doesn't allow BuiltIn PointSize to be used for "
1854 << "According to the Vulkan spec BuiltIn PointSize "
1879 << "According to the Vulkan spec BuiltIn "
1894 << "According to the Vulkan spec BuiltIn "
1908 << "Vulkan spec allows BuiltIn PointSize to be used only with "
1944 << _.VkErrorID(4320) << "Vulkan spec allows BuiltIn Position to be only used for "
1955 "Vulkan spec doesn't allow BuiltIn Position to be used "
1962 "Vulkan spec doesn't allow BuiltIn Position to be used "
1969 "Vulkan spec doesn't allow BuiltIn Position to be used "
1985 << "According to the Vulkan spec BuiltIn Position "
2013 << "According to the Vulkan spec BuiltIn Position "
2028 << "According to the Vulkan spec BuiltIn Position "
2042 << "Vulkan spec allows BuiltIn Position to be used only "
2074 << "According to the Vulkan spec BuiltIn PrimitiveId "
2086 << "According to the Vulkan spec BuiltIn PrimitiveId "
2109 << "Vulkan spec allows BuiltIn PrimitiveId to be only used for "
2120 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2127 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2134 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2141 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2148 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2155 "Vulkan spec doesn't allow BuiltIn PrimitiveId to be used for "
2180 << "Vulkan spec allows BuiltIn PrimitiveId to be used only "
2209 << "According to the Vulkan spec BuiltIn SampleId "
2231 << "Vulkan spec allows BuiltIn SampleId to be only used for "
2242 << "Vulkan spec allows BuiltIn SampleId to be used only with "
2268 << "According to the Vulkan spec BuiltIn SampleMask "
2291 << "Vulkan spec allows BuiltIn SampleMask to be only used for "
2302 << "Vulkan spec allows BuiltIn SampleMask to be used only "
2329 << "According to the Vulkan spec BuiltIn SamplePosition "
2352 << "Vulkan spec allows BuiltIn SamplePosition to be only used "
2364 << "Vulkan spec allows BuiltIn SamplePosition to be used only "
2391 << "According to the Vulkan spec BuiltIn TessCoord "
2414 << "Vulkan spec allows BuiltIn TessCoord to be only used for "
2425 << "Vulkan spec allows BuiltIn TessCoord to be used only with "
2451 << "According to the Vulkan spec BuiltIn TessLevelOuter "
2472 << "According to the Vulkan spec BuiltIn TessLevelOuter "
2496 << "Vulkan spec allows BuiltIn "
2508 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::TessLevelOuter) ? 4391 : 4395;
2521 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::TessLevelOuter) ? 4392 : 4396;
2541 uint32_t vuid = (spv::BuiltIn(operand) == spv::BuiltIn::TessLevelOuter) ? 4390 : 4394;
2543 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
2574 << " spec BuiltIn VertexIndex variable needs to be a "
2591 << "Vulkan spec doesn't allow BuiltIn VertexId "
2629 << " spec allows BuiltIn VertexIndex to be only used for "
2641 << " spec allows BuiltIn VertexIndex to be used only with "
2671 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::Layer) ? 4276 : 4408;
2674 << "According to the Vulkan spec BuiltIn "
2688 (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::Layer) ? 4276 : 4408;
2691 << "According to the Vulkan spec BuiltIn "
2717 << "Vulkan spec allows BuiltIn "
2735 this, ((spv::BuiltIn(operand) == spv::BuiltIn::Layer) ? 4274 : 4406),
2736 "Vulkan spec doesn't allow BuiltIn Layer and "
2750 this, ((spv::BuiltIn(operand) == spv::BuiltIn::Layer) ? 4275 : 4407),
2751 "Vulkan spec doesn't allow BuiltIn Layer and "
2771 if (spv::BuiltIn(operand) == spv::BuiltIn::ViewportIndex &&
2774 if (spv::BuiltIn(operand) == spv::BuiltIn::Layer &&
2780 if (spv::BuiltIn(operand) == spv::BuiltIn::ViewportIndex)
2782 if (spv::BuiltIn(operand) == spv::BuiltIn::Layer)
2785 uint32_t vuid = (spv::BuiltIn(operand) == spv::BuiltIn::Layer) ? 4273 : 4405;
2787 << _.VkErrorID(vuid) << "Using BuiltIn "
2796 uint32_t vuid = (spv::BuiltIn(operand) == spv::BuiltIn::Layer) ? 4272 : 4404;
2798 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
2824 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
2832 << " spec BuiltIn "
2854 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
2861 << " spec allows BuiltIn "
2875 << " spec allows BuiltIn "
2898 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
2906 << " spec BuiltIn "
2927 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
2934 << " spec allows BuiltIn "
2954 << " spec allows BuiltIn "
2978 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
2981 << "BuiltIn "
2993 << " spec BuiltIn "
3012 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3020 << " spec allows BuiltIn "
3039 << " spec allows BuiltIn "
3063 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3066 << "BuiltIn "
3078 << " spec BuiltIn "
3092 << " spec allows BuiltIn "
3106 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3109 << "BuiltIn "
3121 << " spec BuiltIn "
3137 << " spec allows BuiltIn "
3155 << "Vulkan spec requires BuiltIn WorkgroupSize to be a "
3166 << " spec BuiltIn WorkgroupSize variable needs to be a "
3192 << " spec allows BuiltIn "
3220 uint32_t vuid = (spv::BuiltIn(decoration.params()[0]) == spv::BuiltIn::BaseInstance)
3225 << "According to the Vulkan spec BuiltIn "
3247 uint32_t vuid = (spv::BuiltIn(operand) == spv::BuiltIn::BaseInstance) ? 4182 : 4185;
3249 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
3260 uint32_t vuid = (spv::BuiltIn(operand) == spv::BuiltIn::BaseInstance) ? 4181 : 4184;
3262 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
3292 << "According to the Vulkan spec BuiltIn "
3315 << _.VkErrorID(4208) << "Vulkan spec allows BuiltIn "
3331 << _.VkErrorID(4207) << "Vulkan spec allows BuiltIn "
3362 << "According to the Vulkan spec BuiltIn "
3385 << _.VkErrorID(4402) << "Vulkan spec allows BuiltIn "
3397 << _.VkErrorID(4401) << "Vulkan spec allows BuiltIn "
3426 << "According to the Vulkan spec BuiltIn "
3449 << _.VkErrorID(4205) << "Vulkan spec allows BuiltIn "
3473 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3481 << " spec BuiltIn "
3500 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3507 << " spec allows BuiltIn "
3521 << " spec allows BuiltIn "
3543 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3551 << " spec BuiltIn "
3570 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3577 << " spec allows BuiltIn "
3591 << " spec allows BuiltIn "
3613 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3621 << " spec BuiltIn "
3640 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3647 << " spec allows BuiltIn "
3661 << " spec allows BuiltIn "
3683 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3691 << " spec BuiltIn "
3710 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3717 << " spec allows BuiltIn "
3731 << " spec allows BuiltIn "
3760 << " spec BuiltIn "
3784 << " spec allows BuiltIn "
3814 << "According to the Vulkan spec BuiltIn "
3837 << _.VkErrorID(4485) << "Vulkan spec allows BuiltIn "
3855 << _.VkErrorID(4484) << "Vulkan spec allows BuiltIn "
3887 << "According to the Vulkan spec BuiltIn "
3910 << _.VkErrorID(4491) << "Vulkan spec allows BuiltIn "
3922 << _.VkErrorID(4490) << "Vulkan spec allows BuiltIn "
3945 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
3947 case spv::BuiltIn::HitTNV:
3948 case spv::BuiltIn::RayTminKHR:
3949 case spv::BuiltIn::RayTmaxKHR:
3958 << "According to the Vulkan spec BuiltIn "
3967 case spv::BuiltIn::HitKindKHR:
3968 case spv::BuiltIn::InstanceCustomIndexKHR:
3969 case spv::BuiltIn::InstanceId:
3970 case spv::BuiltIn::RayGeometryIndexKHR:
3971 case spv::BuiltIn::IncomingRayFlagsKHR:
3972 case spv::BuiltIn::CullMaskKHR:
3981 << "According to the Vulkan spec BuiltIn "
3990 case spv::BuiltIn::ObjectRayDirectionKHR:
3991 case spv::BuiltIn::ObjectRayOriginKHR:
3992 case spv::BuiltIn::WorldRayDirectionKHR:
3993 case spv::BuiltIn::WorldRayOriginKHR:
4002 << "According to the Vulkan spec BuiltIn "
4012 case spv::BuiltIn::LaunchIdKHR:
4013 case spv::BuiltIn::LaunchSizeKHR:
4022 << "According to the Vulkan spec BuiltIn "
4032 case spv::BuiltIn::ObjectToWorldKHR:
4033 case spv::BuiltIn::WorldToObjectKHR:
4042 << "According to the Vulkan spec BuiltIn "
4068 const spv::BuiltIn builtin = spv::BuiltIn(decoration.params()[0]);
4074 << _.VkErrorID(vuid) << "Vulkan spec allows BuiltIn "
4087 << _.VkErrorID(vuid) << "Vulkan spec does not allow BuiltIn "
4113 const spv::BuiltIn label = spv::BuiltIn(decoration.params()[0]);
4121 // returns into BuiltIn-specific rules, so that the system doesn't spawn new
4126 // If you are adding a new BuiltIn enum, please register it here.
4130 case spv::BuiltIn::ClipDistance:
4131 case spv::BuiltIn::CullDistance: {
4134 case spv::BuiltIn::FragCoord: {
4137 case spv::BuiltIn::FragDepth: {
4140 case spv::BuiltIn::FrontFacing: {
4143 case spv::BuiltIn::GlobalInvocationId:
4144 case spv::BuiltIn::LocalInvocationId:
4145 case spv::BuiltIn::NumWorkgroups:
4146 case spv::BuiltIn::WorkgroupId: {
4149 case spv::BuiltIn::BaryCoordKHR:
4150 case spv::BuiltIn::BaryCoordNoPerspKHR: {
4153 case spv::BuiltIn::HelperInvocation: {
4156 case spv::BuiltIn::InvocationId: {
4159 case spv::BuiltIn::InstanceIndex: {
4162 case spv::BuiltIn::Layer:
4163 case spv::BuiltIn::ViewportIndex: {
4166 case spv::BuiltIn::PatchVertices: {
4169 case spv::BuiltIn::PointCoord: {
4172 case spv::BuiltIn::PointSize: {
4175 case spv::BuiltIn::Position: {
4178 case spv::BuiltIn::PrimitiveId: {
4181 case spv::BuiltIn::SampleId: {
4184 case spv::BuiltIn::SampleMask: {
4187 case spv::BuiltIn::SamplePosition: {
4190 case spv::BuiltIn::SubgroupId:
4191 case spv::BuiltIn::NumSubgroups: {
4194 case spv::BuiltIn::SubgroupLocalInvocationId:
4195 case spv::BuiltIn::SubgroupSize: {
4198 case spv::BuiltIn::SubgroupEqMask:
4199 case spv::BuiltIn::SubgroupGeMask:
4200 case spv::BuiltIn::SubgroupGtMask:
4201 case spv::BuiltIn::SubgroupLeMask:
4202 case spv::BuiltIn::SubgroupLtMask: {
4205 case spv::BuiltIn::TessCoord: {
4208 case spv::BuiltIn::TessLevelOuter: {
4211 case spv::BuiltIn::TessLevelInner: {
4214 case spv::BuiltIn::VertexIndex: {
4217 case spv::BuiltIn::WorkgroupSize: {
4220 case spv::BuiltIn::VertexId: {
4223 case spv::BuiltIn::LocalInvocationIndex: {
4226 case spv::BuiltIn::CoreIDARM:
4227 case spv::BuiltIn::CoreCountARM:
4228 case spv::BuiltIn::CoreMaxIDARM:
4229 case spv::BuiltIn::WarpIDARM:
4230 case spv::BuiltIn::WarpMaxIDARM:
4231 case spv::BuiltIn::WarpsPerSMNV:
4232 case spv::BuiltIn::SMCountNV:
4233 case spv::BuiltIn::WarpIDNV:
4234 case spv::BuiltIn::SMIDNV: {
4237 case spv::BuiltIn::BaseInstance:
4238 case spv::BuiltIn::BaseVertex: {
4241 case spv::BuiltIn::DrawIndex: {
4244 case spv::BuiltIn::ViewIndex: {
4247 case spv::BuiltIn::DeviceIndex: {
4250 case spv::BuiltIn::FragInvocationCountEXT: {
4251 // alias spv::BuiltIn::InvocationsPerPixelNV
4254 case spv::BuiltIn::FragSizeEXT: {
4255 // alias spv::BuiltIn::FragmentSizeNV
4258 case spv::BuiltIn::FragStencilRefEXT: {
4261 case spv::BuiltIn::FullyCoveredEXT:{
4265 case spv::BuiltIn::HitKindKHR: // alias spv::BuiltIn::HitKindNV
4266 case spv::BuiltIn::HitTNV: // NOT present in KHR
4267 case spv::BuiltIn::InstanceId:
4268 case spv::BuiltIn::LaunchIdKHR: // alias spv::BuiltIn::LaunchIdNV
4269 case spv::BuiltIn::LaunchSizeKHR: // alias spv::BuiltIn::LaunchSizeNV
4270 case spv::BuiltIn::WorldRayOriginKHR: // alias spv::BuiltIn::WorldRayOriginNV
4271 case spv::BuiltIn::WorldRayDirectionKHR: // alias spv::BuiltIn::WorldRayDirectionNV
4272 case spv::BuiltIn::ObjectRayOriginKHR: // alias spv::BuiltIn::ObjectRayOriginNV
4273 case spv::BuiltIn::ObjectRayDirectionKHR: // alias
4274 // spv::BuiltIn::ObjectRayDirectionNV
4275 case spv::BuiltIn::RayTminKHR: // alias spv::BuiltIn::RayTminNV
4276 case spv::BuiltIn::RayTmaxKHR: // alias spv::BuiltIn::RayTmaxNV
4277 case spv::BuiltIn::InstanceCustomIndexKHR: // alias
4278 // spv::BuiltIn::InstanceCustomIndexNV
4279 case spv::BuiltIn::ObjectToWorldKHR: // alias spv::BuiltIn::ObjectToWorldNV
4280 case spv::BuiltIn::WorldToObjectKHR: // alias spv::BuiltIn::WorldToObjectNV
4281 case spv::BuiltIn::IncomingRayFlagsKHR: // alias spv::BuiltIn::IncomingRayFlagsNV
4282 case spv::BuiltIn::RayGeometryIndexKHR: // NOT present in NV
4283 case spv::BuiltIn::CullMaskKHR: {
4286 case spv::BuiltIn::PrimitiveShadingRateKHR: {
4289 case spv::BuiltIn::ShadingRateKHR: {
4311 if (decoration.dec_type() != spv::Decoration::BuiltIn) {