Lines Matching refs:spv

75             case spv::OpTypeVoid:  in BuildDefIndex()
76 case spv::OpTypeBool: in BuildDefIndex()
77 case spv::OpTypeInt: in BuildDefIndex()
78 case spv::OpTypeFloat: in BuildDefIndex()
79 case spv::OpTypeVector: in BuildDefIndex()
80 case spv::OpTypeMatrix: in BuildDefIndex()
81 case spv::OpTypeImage: in BuildDefIndex()
82 case spv::OpTypeSampler: in BuildDefIndex()
83 case spv::OpTypeSampledImage: in BuildDefIndex()
84 case spv::OpTypeArray: in BuildDefIndex()
85 case spv::OpTypeRuntimeArray: in BuildDefIndex()
86 case spv::OpTypeStruct: in BuildDefIndex()
87 case spv::OpTypeOpaque: in BuildDefIndex()
88 case spv::OpTypePointer: in BuildDefIndex()
89 case spv::OpTypeFunction: in BuildDefIndex()
90 case spv::OpTypeEvent: in BuildDefIndex()
91 case spv::OpTypeDeviceEvent: in BuildDefIndex()
92 case spv::OpTypeReserveId: in BuildDefIndex()
93 case spv::OpTypeQueue: in BuildDefIndex()
94 case spv::OpTypePipe: in BuildDefIndex()
95 case spv::OpTypeAccelerationStructureNV: in BuildDefIndex()
100 case spv::OpConstantTrue: in BuildDefIndex()
101 case spv::OpConstantFalse: in BuildDefIndex()
102 case spv::OpConstant: in BuildDefIndex()
103 case spv::OpConstantComposite: in BuildDefIndex()
104 case spv::OpConstantSampler: in BuildDefIndex()
105 case spv::OpConstantNull: in BuildDefIndex()
110 case spv::OpSpecConstantTrue: in BuildDefIndex()
111 case spv::OpSpecConstantFalse: in BuildDefIndex()
112 case spv::OpSpecConstant: in BuildDefIndex()
113 case spv::OpSpecConstantComposite: in BuildDefIndex()
114 case spv::OpSpecConstantOp: in BuildDefIndex()
119 case spv::OpVariable: in BuildDefIndex()
124 case spv::OpFunction: in BuildDefIndex()
137 case spv::ExecutionModelVertex: in ExecutionModelToShaderStageFlagBits()
139 case spv::ExecutionModelTessellationControl: in ExecutionModelToShaderStageFlagBits()
141 case spv::ExecutionModelTessellationEvaluation: in ExecutionModelToShaderStageFlagBits()
143 case spv::ExecutionModelGeometry: in ExecutionModelToShaderStageFlagBits()
145 case spv::ExecutionModelFragment: in ExecutionModelToShaderStageFlagBits()
147 case spv::ExecutionModelGLCompute: in ExecutionModelToShaderStageFlagBits()
149 case spv::ExecutionModelRayGenerationNV: in ExecutionModelToShaderStageFlagBits()
151 case spv::ExecutionModelAnyHitNV: in ExecutionModelToShaderStageFlagBits()
153 case spv::ExecutionModelClosestHitNV: in ExecutionModelToShaderStageFlagBits()
155 case spv::ExecutionModelMissNV: in ExecutionModelToShaderStageFlagBits()
157 case spv::ExecutionModelIntersectionNV: in ExecutionModelToShaderStageFlagBits()
159 case spv::ExecutionModelCallableNV: in ExecutionModelToShaderStageFlagBits()
161 case spv::ExecutionModelTaskNV: in ExecutionModelToShaderStageFlagBits()
163 case spv::ExecutionModelMeshNV: in ExecutionModelToShaderStageFlagBits()
172 if (insn.opcode() == spv::OpEntryPoint) { in FindEntrypoint()
188 case spv::StorageClassInput: in StorageClassName()
190 case spv::StorageClassOutput: in StorageClassName()
192 case spv::StorageClassUniformConstant: in StorageClassName()
194 case spv::StorageClassUniform: in StorageClassName()
196 case spv::StorageClassWorkgroup: in StorageClassName()
198 case spv::StorageClassCrossWorkgroup: in StorageClassName()
200 case spv::StorageClassPrivate: in StorageClassName()
202 case spv::StorageClassFunction: in StorageClassName()
204 case spv::StorageClassGeneric: in StorageClassName()
206 case spv::StorageClassAtomicCounter: in StorageClassName()
208 case spv::StorageClassImage: in StorageClassName()
210 case spv::StorageClassPushConstant: in StorageClassName()
212 case spv::StorageClassStorageBuffer: in StorageClassName()
224 if (value.opcode() != spv::OpConstant) { in GetConstantValue()
238 case spv::OpTypeBool: in DescribeTypeInner()
241 case spv::OpTypeInt: in DescribeTypeInner()
244 case spv::OpTypeFloat: in DescribeTypeInner()
247 case spv::OpTypeVector: in DescribeTypeInner()
251 case spv::OpTypeMatrix: in DescribeTypeInner()
255 case spv::OpTypeArray: in DescribeTypeInner()
259 case spv::OpTypeRuntimeArray: in DescribeTypeInner()
263 case spv::OpTypePointer: in DescribeTypeInner()
267 case spv::OpTypeStruct: { in DescribeTypeInner()
279 case spv::OpTypeSampler: in DescribeTypeInner()
282 case spv::OpTypeSampledImage: in DescribeTypeInner()
286 case spv::OpTypeImage: in DescribeTypeInner()
289 case spv::OpTypeAccelerationStructureNV: in DescribeTypeInner()
305 if (type.opcode() != spv::OpTypeInt && type.opcode() != spv::OpTypeFloat) return false; in IsNarrowNumericType()
319 if (a_arrayed && a_insn.opcode() == spv::OpTypeArray) { in TypesMatch()
323 if (b_arrayed && b_insn.opcode() == spv::OpTypeArray) { in TypesMatch()
328 if (a_insn.opcode() == spv::OpTypeVector && relaxed && IsNarrowNumericType(b_insn)) { in TypesMatch()
336 if (a_insn.opcode() == spv::OpTypePointer) { in TypesMatch()
347 case spv::OpTypeBool: in TypesMatch()
349 case spv::OpTypeInt: in TypesMatch()
352 case spv::OpTypeFloat: in TypesMatch()
355 case spv::OpTypeVector: in TypesMatch()
363 case spv::OpTypeMatrix: in TypesMatch()
367 case spv::OpTypeArray: in TypesMatch()
372 case spv::OpTypeStruct: in TypesMatch()
406 case spv::OpTypePointer: in GetLocationsConsumedByType()
410 case spv::OpTypeArray: in GetLocationsConsumedByType()
416 case spv::OpTypeMatrix: in GetLocationsConsumedByType()
419 case spv::OpTypeVector: { in GetLocationsConsumedByType()
422 …(scalar_type.opcode() == spv::OpTypeInt || scalar_type.opcode() == spv::OpTypeFloat) ? scalar_type… in GetLocationsConsumedByType()
440 case spv::OpTypePointer: in GetComponentsConsumedByType()
444 case spv::OpTypeStruct: { in GetComponentsConsumedByType()
451 case spv::OpTypeArray: { in GetComponentsConsumedByType()
458 case spv::OpTypeMatrix: in GetComponentsConsumedByType()
461 case spv::OpTypeVector: { in GetComponentsConsumedByType()
464 …(scalar_type.opcode() == spv::OpTypeInt || scalar_type.opcode() == spv::OpTypeFloat) ? scalar_type… in GetComponentsConsumedByType()
468 case spv::OpTypeFloat: { in GetComponentsConsumedByType()
472 case spv::OpTypeInt: { in GetComponentsConsumedByType()
476 case spv::OpConstant: in GetComponentsConsumedByType()
513 case spv::OpTypeInt: in GetFundamentalType()
515 case spv::OpTypeFloat: in GetFundamentalType()
517 case spv::OpTypeVector: in GetFundamentalType()
518 case spv::OpTypeMatrix: in GetFundamentalType()
519 case spv::OpTypeArray: in GetFundamentalType()
520 case spv::OpTypeRuntimeArray: in GetFundamentalType()
521 case spv::OpTypeImage: in GetFundamentalType()
523 case spv::OpTypePointer: in GetFundamentalType()
538 if (def.opcode() == spv::OpTypePointer) { in GetStructType()
540 } else if (def.opcode() == spv::OpTypeArray && is_array_of_verts) { in GetStructType()
543 } else if (def.opcode() == spv::OpTypeStruct) { in GetStructType()
567 if (insn.opcode() == spv::OpMemberDecorate && insn.word(1) == type.word(1)) { in CollectInterfaceBlockMembers()
570 if (insn.word(3) == spv::DecorationComponent) { in CollectInterfaceBlockMembers()
575 if (insn.word(3) == spv::DecorationRelaxedPrecision) { in CollectInterfaceBlockMembers()
579 if (insn.word(3) == spv::DecorationPatch) { in CollectInterfaceBlockMembers()
589 if (insn.opcode() == spv::OpMemberDecorate && insn.word(1) == type.word(1)) { in CollectInterfaceBlockMembers()
593 if (insn.word(3) == spv::DecorationLocation) { in CollectInterfaceBlockMembers()
620spv::StorageClass sinterface, bool is_array_of_verts) { in CollectInterfaceByLocation()
631 if (insn.opcode() == spv::OpDecorate) { in CollectInterfaceByLocation()
632 if (insn.word(2) == spv::DecorationLocation) { in CollectInterfaceByLocation()
636 if (insn.word(2) == spv::DecorationBuiltIn) { in CollectInterfaceByLocation()
640 if (insn.word(2) == spv::DecorationComponent) { in CollectInterfaceByLocation()
644 if (insn.word(2) == spv::DecorationBlock) { in CollectInterfaceByLocation()
648 if (insn.word(2) == spv::DecorationPatch) { in CollectInterfaceByLocation()
652 if (insn.word(2) == spv::DecorationRelaxedPrecision) { in CollectInterfaceByLocation()
674 assert(insn.opcode() == spv::OpVariable); in CollectInterfaceByLocation()
713 if (insn.opcode() == spv::OpDecorate) { in CollectInterfaceByInputAttachmentIndex()
714 if (insn.word(2) == spv::DecorationInputAttachmentIndex) { in CollectInterfaceByInputAttachmentIndex()
722 … if (def.opcode() == spv::OpVariable && insn.word(3) == spv::StorageClassUniformConstant) { in CollectInterfaceByInputAttachmentIndex()
744 …while (type.opcode() == spv::OpTypeArray || type.opcode() == spv::OpTypePointer || type.opcode() =… in IsWritableDescriptorType()
745 if (type.opcode() == spv::OpTypeArray || type.opcode() == spv::OpTypeRuntimeArray) { in IsWritableDescriptorType()
753 case spv::OpTypeImage: { in IsWritableDescriptorType()
756 return sampled == 2 && dim != spv::DimSubpassData; in IsWritableDescriptorType()
759 case spv::OpTypeStruct: { in IsWritableDescriptorType()
762 if (insn.opcode() == spv::OpDecorate && insn.word(1) == type.word(1)) { in IsWritableDescriptorType()
763 if (insn.word(2) == spv::DecorationBufferBlock) { in IsWritableDescriptorType()
768 } else if (insn.opcode() == spv::OpMemberDecorate && insn.word(1) == type.word(1) && in IsWritableDescriptorType()
769 insn.word(3) == spv::DecorationNonWritable) { in IsWritableDescriptorType()
793 if (insn.opcode() == spv::OpDecorate) { in CollectInterfaceByDescriptorSlot()
794 if (insn.word(2) == spv::DecorationDescriptorSet) { in CollectInterfaceByDescriptorSlot()
798 if (insn.word(2) == spv::DecorationBinding) { in CollectInterfaceByDescriptorSlot()
804 if (insn.word(2) == spv::DecorationNonWritable) { in CollectInterfaceByDescriptorSlot()
816 if (insn.opcode() == spv::OpVariable && in CollectInterfaceByDescriptorSlot()
817 … (insn.word(3) == spv::StorageClassUniform || insn.word(3) == spv::StorageClassUniformConstant || in CollectInterfaceByDescriptorSlot()
818 insn.word(3) == spv::StorageClassStorageBuffer)) { in CollectInterfaceByDescriptorSlot()
828 … IsWritableDescriptorType(src, insn.word(1), insn.word(3) == spv::StorageClassStorageBuffer)) { in CollectInterfaceByDescriptorSlot()
863 auto inputs = CollectInterfaceByLocation(vs, entrypoint, spv::StorageClassInput, false); in ValidateViAgainstVsInputs()
939 auto outputs = CollectInterfaceByLocation(fs, entrypoint, spv::StorageClassOutput, false); in ValidateFsOutputsAgainstRenderPass()
1013 if (type == spv::OpMemberDecorate) { in IsPointSizeWritten()
1016 while (!init_complete && (insn.opcode() != spv::OpFunction)) { in IsPointSizeWritten()
1018 case spv::OpTypePointer: in IsPointSizeWritten()
1019 if ((insn.word(3) == target_id) && (insn.word(2) == spv::StorageClassOutput)) { in IsPointSizeWritten()
1023 case spv::OpVariable: in IsPointSizeWritten()
1034 if (!init_complete && (type == spv::OpMemberDecorate)) return false; in IsPointSizeWritten()
1051 if (insn.opcode() == spv::OpFunction) { in IsPointSizeWritten()
1053 while (++insn, insn.opcode() != spv::OpFunctionEnd) { in IsPointSizeWritten()
1055 case spv::OpAccessChain: in IsPointSizeWritten()
1057 if (type == spv::OpMemberDecorate) { in IsPointSizeWritten()
1067 case spv::OpStore: in IsPointSizeWritten()
1072 case spv::OpFunctionCall: in IsPointSizeWritten()
1112 case spv::OpFunction: in MarkAccessibleIds()
1114 while (++insn, insn.opcode() != spv::OpFunctionEnd) { in MarkAccessibleIds()
1116 case spv::OpLoad: in MarkAccessibleIds()
1117 case spv::OpAtomicLoad: in MarkAccessibleIds()
1118 case spv::OpAtomicExchange: in MarkAccessibleIds()
1119 case spv::OpAtomicCompareExchange: in MarkAccessibleIds()
1120 case spv::OpAtomicCompareExchangeWeak: in MarkAccessibleIds()
1121 case spv::OpAtomicIIncrement: in MarkAccessibleIds()
1122 case spv::OpAtomicIDecrement: in MarkAccessibleIds()
1123 case spv::OpAtomicIAdd: in MarkAccessibleIds()
1124 case spv::OpAtomicISub: in MarkAccessibleIds()
1125 case spv::OpAtomicSMin: in MarkAccessibleIds()
1126 case spv::OpAtomicUMin: in MarkAccessibleIds()
1127 case spv::OpAtomicSMax: in MarkAccessibleIds()
1128 case spv::OpAtomicUMax: in MarkAccessibleIds()
1129 case spv::OpAtomicAnd: in MarkAccessibleIds()
1130 case spv::OpAtomicOr: in MarkAccessibleIds()
1131 case spv::OpAtomicXor: in MarkAccessibleIds()
1134 case spv::OpStore: in MarkAccessibleIds()
1135 case spv::OpAtomicStore: in MarkAccessibleIds()
1138 case spv::OpAccessChain: in MarkAccessibleIds()
1139 case spv::OpInBoundsAccessChain: in MarkAccessibleIds()
1142 case spv::OpSampledImage: in MarkAccessibleIds()
1143 case spv::OpImageSampleImplicitLod: in MarkAccessibleIds()
1144 case spv::OpImageSampleExplicitLod: in MarkAccessibleIds()
1145 case spv::OpImageSampleDrefImplicitLod: in MarkAccessibleIds()
1146 case spv::OpImageSampleDrefExplicitLod: in MarkAccessibleIds()
1147 case spv::OpImageSampleProjImplicitLod: in MarkAccessibleIds()
1148 case spv::OpImageSampleProjExplicitLod: in MarkAccessibleIds()
1149 case spv::OpImageSampleProjDrefImplicitLod: in MarkAccessibleIds()
1150 case spv::OpImageSampleProjDrefExplicitLod: in MarkAccessibleIds()
1151 case spv::OpImageFetch: in MarkAccessibleIds()
1152 case spv::OpImageGather: in MarkAccessibleIds()
1153 case spv::OpImageDrefGather: in MarkAccessibleIds()
1154 case spv::OpImageRead: in MarkAccessibleIds()
1155 case spv::OpImage: in MarkAccessibleIds()
1156 case spv::OpImageQueryFormat: in MarkAccessibleIds()
1157 case spv::OpImageQueryOrder: in MarkAccessibleIds()
1158 case spv::OpImageQuerySizeLod: in MarkAccessibleIds()
1159 case spv::OpImageQuerySize: in MarkAccessibleIds()
1160 case spv::OpImageQueryLod: in MarkAccessibleIds()
1161 case spv::OpImageQueryLevels: in MarkAccessibleIds()
1162 case spv::OpImageQuerySamples: in MarkAccessibleIds()
1163 case spv::OpImageSparseSampleImplicitLod: in MarkAccessibleIds()
1164 case spv::OpImageSparseSampleExplicitLod: in MarkAccessibleIds()
1165 case spv::OpImageSparseSampleDrefImplicitLod: in MarkAccessibleIds()
1166 case spv::OpImageSparseSampleDrefExplicitLod: in MarkAccessibleIds()
1167 case spv::OpImageSparseSampleProjImplicitLod: in MarkAccessibleIds()
1168 case spv::OpImageSparseSampleProjExplicitLod: in MarkAccessibleIds()
1169 case spv::OpImageSparseSampleProjDrefImplicitLod: in MarkAccessibleIds()
1170 case spv::OpImageSparseSampleProjDrefExplicitLod: in MarkAccessibleIds()
1171 case spv::OpImageSparseFetch: in MarkAccessibleIds()
1172 case spv::OpImageSparseGather: in MarkAccessibleIds()
1173 case spv::OpImageSparseDrefGather: in MarkAccessibleIds()
1174 case spv::OpImageTexelPointer: in MarkAccessibleIds()
1177 case spv::OpImageWrite: in MarkAccessibleIds()
1180 case spv::OpFunctionCall: in MarkAccessibleIds()
1186 case spv::OpExtInst: in MarkAccessibleIds()
1212 if (insn.opcode() == spv::OpMemberDecorate && insn.word(1) == type.word(1)) { in ValidatePushConstantBlockAgainstPipeline()
1213 if (insn.word(3) == spv::DecorationOffset) { in ValidatePushConstantBlockAgainstPipeline()
1253 … if (def_insn.opcode() == spv::OpVariable && def_insn.word(3) == spv::StorageClassPushConstant) { in ValidatePushConstantUsage()
1293 …while (type.opcode() == spv::OpTypeArray || type.opcode() == spv::OpTypePointer || type.opcode() =… in TypeToDescriptorTypeSet()
1294 if (type.opcode() == spv::OpTypeRuntimeArray) { in TypeToDescriptorTypeSet()
1297 } else if (type.opcode() == spv::OpTypeArray) { in TypeToDescriptorTypeSet()
1301 if (type.word(2) == spv::StorageClassStorageBuffer) { in TypeToDescriptorTypeSet()
1309 case spv::OpTypeStruct: { in TypeToDescriptorTypeSet()
1311 if (insn.opcode() == spv::OpDecorate && insn.word(1) == type.word(1)) { in TypeToDescriptorTypeSet()
1312 if (insn.word(2) == spv::DecorationBlock) { in TypeToDescriptorTypeSet()
1323 } else if (insn.word(2) == spv::DecorationBufferBlock) { in TypeToDescriptorTypeSet()
1335 case spv::OpTypeSampler: in TypeToDescriptorTypeSet()
1340 case spv::OpTypeSampledImage: { in TypeToDescriptorTypeSet()
1346 if (dim == spv::DimBuffer && sampled == 1) { in TypeToDescriptorTypeSet()
1354 case spv::OpTypeImage: { in TypeToDescriptorTypeSet()
1360 if (dim == spv::DimSubpassData) { in TypeToDescriptorTypeSet()
1363 } else if (dim == spv::DimBuffer) { in TypeToDescriptorTypeSet()
1380 case spv::OpTypeAccelerationStructureNV: in TypeToDescriptorTypeSet()
1465 {spv::CapabilityMatrix, {nullptr}}, in ValidateShaderCapabilities()
1466 {spv::CapabilityShader, {nullptr}}, in ValidateShaderCapabilities()
1467 {spv::CapabilityInputAttachment, {nullptr}}, in ValidateShaderCapabilities()
1468 {spv::CapabilitySampled1D, {nullptr}}, in ValidateShaderCapabilities()
1469 {spv::CapabilityImage1D, {nullptr}}, in ValidateShaderCapabilities()
1470 {spv::CapabilitySampledBuffer, {nullptr}}, in ValidateShaderCapabilities()
1471 {spv::CapabilityImageQuery, {nullptr}}, in ValidateShaderCapabilities()
1472 {spv::CapabilityDerivativeControl, {nullptr}}, in ValidateShaderCapabilities()
1476 …{spv::CapabilityGeometry, {"VkPhysicalDeviceFeatures::geometryShader", &VkPhysicalDeviceFeatures::… in ValidateShaderCapabilities()
1477 …{spv::CapabilityTessellation, {"VkPhysicalDeviceFeatures::tessellationShader", &VkPhysicalDeviceFe… in ValidateShaderCapabilities()
1478 …{spv::CapabilityFloat64, {"VkPhysicalDeviceFeatures::shaderFloat64", &VkPhysicalDeviceFeatures::sh… in ValidateShaderCapabilities()
1479 …{spv::CapabilityInt64, {"VkPhysicalDeviceFeatures::shaderInt64", &VkPhysicalDeviceFeatures::shader… in ValidateShaderCapabilities()
1480 …{spv::CapabilityTessellationPointSize, {"VkPhysicalDeviceFeatures::shaderTessellationAndGeometryPo… in ValidateShaderCapabilities()
1481 …{spv::CapabilityGeometryPointSize, {"VkPhysicalDeviceFeatures::shaderTessellationAndGeometryPointS… in ValidateShaderCapabilities()
1482 …{spv::CapabilityImageGatherExtended, {"VkPhysicalDeviceFeatures::shaderImageGatherExtended", &VkPh… in ValidateShaderCapabilities()
1483 …{spv::CapabilityStorageImageMultisample, {"VkPhysicalDeviceFeatures::shaderStorageImageMultisample… in ValidateShaderCapabilities()
1484 …{spv::CapabilityUniformBufferArrayDynamicIndexing, {"VkPhysicalDeviceFeatures::shaderUniformBuffer… in ValidateShaderCapabilities()
1485 …{spv::CapabilitySampledImageArrayDynamicIndexing, {"VkPhysicalDeviceFeatures::shaderSampledImageAr… in ValidateShaderCapabilities()
1486 …{spv::CapabilityStorageBufferArrayDynamicIndexing, {"VkPhysicalDeviceFeatures::shaderStorageBuffer… in ValidateShaderCapabilities()
1487 …{spv::CapabilityStorageImageArrayDynamicIndexing, {"VkPhysicalDeviceFeatures::shaderStorageImageAr… in ValidateShaderCapabilities()
1488 …{spv::CapabilityClipDistance, {"VkPhysicalDeviceFeatures::shaderClipDistance", &VkPhysicalDeviceFe… in ValidateShaderCapabilities()
1489 …{spv::CapabilityCullDistance, {"VkPhysicalDeviceFeatures::shaderCullDistance", &VkPhysicalDeviceFe… in ValidateShaderCapabilities()
1490 …{spv::CapabilityImageCubeArray, {"VkPhysicalDeviceFeatures::imageCubeArray", &VkPhysicalDeviceFeat… in ValidateShaderCapabilities()
1491 …{spv::CapabilitySampleRateShading, {"VkPhysicalDeviceFeatures::sampleRateShading", &VkPhysicalDevi… in ValidateShaderCapabilities()
1492 …{spv::CapabilitySparseResidency, {"VkPhysicalDeviceFeatures::shaderResourceResidency", &VkPhysical… in ValidateShaderCapabilities()
1493 …{spv::CapabilityMinLod, {"VkPhysicalDeviceFeatures::shaderResourceMinLod", &VkPhysicalDeviceFeatur… in ValidateShaderCapabilities()
1494 …{spv::CapabilitySampledCubeArray, {"VkPhysicalDeviceFeatures::imageCubeArray", &VkPhysicalDeviceFe… in ValidateShaderCapabilities()
1495 …{spv::CapabilityImageMSArray, {"VkPhysicalDeviceFeatures::shaderStorageImageMultisample", &VkPhysi… in ValidateShaderCapabilities()
1496 …{spv::CapabilityStorageImageExtendedFormats, {"VkPhysicalDeviceFeatures::shaderStorageImageExtende… in ValidateShaderCapabilities()
1497 …{spv::CapabilityInterpolationFunction, {"VkPhysicalDeviceFeatures::sampleRateShading", &VkPhysical… in ValidateShaderCapabilities()
1498 …{spv::CapabilityStorageImageReadWithoutFormat, {"VkPhysicalDeviceFeatures::shaderStorageImageReadW… in ValidateShaderCapabilities()
1499 …{spv::CapabilityStorageImageWriteWithoutFormat, {"VkPhysicalDeviceFeatures::shaderStorageImageWrit… in ValidateShaderCapabilities()
1500 …{spv::CapabilityMultiViewport, {"VkPhysicalDeviceFeatures::multiViewport", &VkPhysicalDeviceFeatur… in ValidateShaderCapabilities()
1502 …{spv::CapabilityShaderNonUniformEXT, {VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAME, nullptr, &DeviceE… in ValidateShaderCapabilities()
1503 …{spv::CapabilityRuntimeDescriptorArrayEXT, {"VkPhysicalDeviceDescriptorIndexingFeaturesEXT::runtim… in ValidateShaderCapabilities()
1504 …{spv::CapabilityInputAttachmentArrayDynamicIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFeatur… in ValidateShaderCapabilities()
1505 …{spv::CapabilityUniformTexelBufferArrayDynamicIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFea… in ValidateShaderCapabilities()
1506 …{spv::CapabilityStorageTexelBufferArrayDynamicIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFea… in ValidateShaderCapabilities()
1507 …{spv::CapabilityUniformBufferArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFeatu… in ValidateShaderCapabilities()
1508 …{spv::CapabilitySampledImageArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFeatur… in ValidateShaderCapabilities()
1509 …{spv::CapabilityStorageBufferArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFeatu… in ValidateShaderCapabilities()
1510 …{spv::CapabilityStorageImageArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFeatur… in ValidateShaderCapabilities()
1511 …{spv::CapabilityInputAttachmentArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexingFea… in ValidateShaderCapabilities()
1512 …{spv::CapabilityUniformTexelBufferArrayNonUniformIndexingEXT, {"VkPhysicalDeviceDescriptorIndexing… in ValidateShaderCapabilities()
1513 …{spv::CapabilityStorageTexelBufferArrayNonUniformIndexingEXT , {"VkPhysicalDeviceDescriptorIndexin… in ValidateShaderCapabilities()
1516 …{spv::CapabilityDrawParameters, {VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME, nullptr, &DeviceExt… in ValidateShaderCapabilities()
1517 …{spv::CapabilityGeometryShaderPassthroughNV, {VK_NV_GEOMETRY_SHADER_PASSTHROUGH_EXTENSION_NAME, nu… in ValidateShaderCapabilities()
1518 …{spv::CapabilitySampleMaskOverrideCoverageNV, {VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME,… in ValidateShaderCapabilities()
1519 …{spv::CapabilityShaderViewportIndexLayerEXT, {VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME, n… in ValidateShaderCapabilities()
1520 …{spv::CapabilityShaderViewportIndexLayerNV, {VK_NV_VIEWPORT_ARRAY2_EXTENSION_NAME, nullptr, &Devic… in ValidateShaderCapabilities()
1521 …{spv::CapabilityShaderViewportMaskNV, {VK_NV_VIEWPORT_ARRAY2_EXTENSION_NAME, nullptr, &DeviceExten… in ValidateShaderCapabilities()
1522 …{spv::CapabilitySubgroupBallotKHR, {VK_EXT_SHADER_SUBGROUP_BALLOT_EXTENSION_NAME, nullptr, &Device… in ValidateShaderCapabilities()
1523 …{spv::CapabilitySubgroupVoteKHR, {VK_EXT_SHADER_SUBGROUP_VOTE_EXTENSION_NAME, nullptr, &DeviceExte… in ValidateShaderCapabilities()
1524 …{spv::CapabilityInt64Atomics, {VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME, nullptr, &DeviceExtensio… in ValidateShaderCapabilities()
1526 …{spv::CapabilityStorageBuffer8BitAccess , {"VkPhysicalDevice8BitStorageFeaturesKHR::storageBuffer8… in ValidateShaderCapabilities()
1527 …{spv::CapabilityUniformAndStorageBuffer8BitAccess , {"VkPhysicalDevice8BitStorageFeaturesKHR::unif… in ValidateShaderCapabilities()
1528 …{spv::CapabilityStoragePushConstant8 , {"VkPhysicalDevice8BitStorageFeaturesKHR::storagePushConsta… in ValidateShaderCapabilities()
1530 …{spv::CapabilityTransformFeedback , { "VkPhysicalDeviceTransformFeedbackFeaturesEXT::transformFeed… in ValidateShaderCapabilities()
1531 …{spv::CapabilityGeometryStreams , { "VkPhysicalDeviceTransformFeedbackFeaturesEXT::geometryStreams… in ValidateShaderCapabilities()
1533 …{spv::CapabilityFloat16 , {"VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderFloat16", &VkPhysicalDev… in ValidateShaderCapabilities()
1534 …{spv::CapabilityInt8 , {"VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderInt8", &VkPhysicalDeviceFlo… in ValidateShaderCapabilities()
1539 if (insn.opcode() == spv::OpCapability) { in ValidateShaderCapabilities()
1615 case spv::OpVariable: { in VariableIsBuiltIn()
1627 case spv::OpTypePointer: in VariableIsBuiltIn()
1630 case spv::OpTypeArray: in VariableIsBuiltIn()
1633 case spv::OpTypeStruct: { in VariableIsBuiltIn()
1671 case spv::OpMemberDecorate: in ValidateShaderStageInputOutputLimits()
1672 if (insn.word(3) == spv::DecorationBuiltIn) { in ValidateShaderStageInputOutputLimits()
1677 case spv::OpDecorate: in ValidateShaderStageInputOutputLimits()
1679 case spv::DecorationBlock: { in ValidateShaderStageInputOutputLimits()
1690 case spv::DecorationBuiltIn: in ValidateShaderStageInputOutputLimits()
1698 case spv::OpVariable: { in ValidateShaderStageInputOutputLimits()
1701 … if (var.storageClass == spv::StorageClassInput || var.storageClass == spv::StorageClassOutput) { in ValidateShaderStageInputOutputLimits()
1724 if (var.storageClass == spv::StorageClassInput) { in ValidateShaderStageInputOutputLimits()
1836 case spv::OpTypeArray: in DescriptorTypeToReqs()
1837 case spv::OpTypeRuntimeArray: in DescriptorTypeToReqs()
1838 case spv::OpTypeSampledImage: in DescriptorTypeToReqs()
1841 case spv::OpTypePointer: in DescriptorTypeToReqs()
1844 case spv::OpTypeImage: { in DescriptorTypeToReqs()
1865 case spv::Dim1D: in DescriptorTypeToReqs()
1868 case spv::Dim2D: in DescriptorTypeToReqs()
1872 case spv::Dim3D: in DescriptorTypeToReqs()
1875 case spv::DimCube: in DescriptorTypeToReqs()
1878 case spv::DimSubpassData: in DescriptorTypeToReqs()
1907 if (insn.opcode() == spv::OpExecutionMode && insn.word(1) == entrypoint_id) { in ProcessExecutionModes()
1909 case spv::ExecutionModePointMode: in ProcessExecutionModes()
1914 case spv::ExecutionModeOutputPoints: in ProcessExecutionModes()
1918 case spv::ExecutionModeIsolines: in ProcessExecutionModes()
1919 case spv::ExecutionModeOutputLineStrip: in ProcessExecutionModes()
1923 case spv::ExecutionModeTriangles: in ProcessExecutionModes()
1924 case spv::ExecutionModeQuads: in ProcessExecutionModes()
1925 case spv::ExecutionModeOutputTriangleStrip: in ProcessExecutionModes()
1954 while (!pointsize_written && (insn.opcode() != spv::OpFunction)) { in ValidatePointListShaderState()
1955 if (insn.opcode() == spv::OpMemberDecorate) { in ValidatePointListShaderState()
1956 if (insn.word(3) == spv::DecorationBuiltIn) { in ValidatePointListShaderState()
1957 if (insn.word(4) == spv::BuiltInPointSize) { in ValidatePointListShaderState()
1961 } else if (insn.opcode() == spv::OpDecorate) { in ValidatePointListShaderState()
1962 if (insn.word(2) == spv::DecorationBuiltIn) { in ValidatePointListShaderState()
1963 if (insn.word(3) == spv::BuiltInPointSize) { in ValidatePointListShaderState()
2099 …CollectInterfaceByLocation(producer, producer_entrypoint, spv::StorageClassOutput, producer_stage-… in ValidateInterfaceBetweenStages()
2100 …auto inputs = CollectInterfaceByLocation(consumer, consumer_entrypoint, spv::StorageClassInput, co… in ValidateInterfaceBetweenStages()
2317 if (!have_glsl_shader || (pCreateInfo->pCode[0] == spv::MagicNumber)) { in PreCallValidateCreateShaderModule()
2358 bool is_spirv = (pCreateInfo->pCode[0] == spv::MagicNumber); in PostCallRecordCreateShaderModule()