/third_party/spirv-tools/test/ |
H A D | text_to_binary.type_declaration_test.cpp | 32 // Test Dim enums via OpTypeImage 39 "%1 = OpTypeImage %2 " + GetParam().name() + " 2 3 0 4 Rgba8\n"; in TEST_P() 41 Eq(MakeInstruction(spv::Op::OpTypeImage, in TEST_P() 68 EXPECT_THAT(CompileFailure("%i = OpTypeImage %t xxyyzz 1 2 3 4 R8"), in TEST_F() 72 // Test ImageFormat enums via OpTypeImage 79 "%1 = OpTypeImage %2 1D 2 3 0 4 " + GetParam().name() + "\n"; in TEST_P() 81 Eq(MakeInstruction(spv::Op::OpTypeImage, in TEST_P() 138 EXPECT_THAT(CompileFailure("%r = OpTypeImage %t 1D 2 3 0 4 xxyyzz"), in TEST_F() 142 // Test AccessQualifier enums via OpTypeImage. 148 "%1 = OpTypeImage in TEST_P() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_image.cpp | 80 // Used by GetImageTypeInfo. See OpTypeImage spec for more information. 93 // OpTypeImage or OpTypeSampledImage type. Returns false in case of failure 107 if (inst->opcode() != spv::Op::OpTypeImage) return false; in GetImageTypeInfo() 927 if (_.GetIdOpcode(image_type) != spv::Op::OpTypeImage) { in ValidateTypeSampledImage() 929 << "Expected Image to be of type OpTypeImage"; in ValidateTypeSampledImage() 1002 if (_.GetIdOpcode(image_type) != spv::Op::OpTypeImage) { in ValidateSampledImage() 1004 << "Expected Image to be of type OpTypeImage."; in ValidateSampledImage() 1134 if (_.GetIdOpcode(image_type) != spv::Op::OpTypeImage) { in ValidateImageTexelPointer() 1136 << "Expected Image to be OpTypePointer with Type OpTypeImage"; in ValidateImageTexelPointer() 1434 if (_.GetIdOpcode(image_type) != spv::Op::OpTypeImage) { in ValidateImageFetch() [all...] |
H A D | validate_type.cpp | 412 (opcode == spv::Op::OpTypeImage || opcode == spv::Op::OpTypeSampler || in ValidateTypeStruct() 451 if (type->opcode() == spv::Op::OpTypeImage) { in ValidateTypePointer()
|
H A D | validate_logicals.cpp | 172 case spv::Op::OpTypeImage: in LogicalsPass()
|
/third_party/spirv-tools/source/opt/ |
H A D | inline_opaque_pass.cpp | 31 case spv::Op::OpTypeImage: in IsOpaqueType()
|
H A D | instruction.cpp | 294 if (base_type->opcode() != spv::Op::OpTypeImage) { in IsVulkanStorageImage() 329 if (base_type->opcode() != spv::Op::OpTypeImage) { in IsVulkanSampledImage() 364 if (base_type->opcode() != spv::Op::OpTypeImage) { in IsVulkanStorageTexelBuffer() 730 return (type->opcode() == spv::Op::OpTypeImage || in IsValidBaseImage()
|
H A D | trim_capabilities_pass.cpp | 289 assert(instruction->opcode() == spv::Op::OpTypeImage && in Handler_OpTypeImage_ImageMSArray() 290 "This handler only support OpTypeImage opcodes."); in Handler_OpTypeImage_ImageMSArray() 349 {spv::Op::OpTypeImage, Handler_OpTypeImage_ImageMSArray}, member in spvtools::opt::spv::Op
|
/third_party/glslang/SPIRV/ |
H A D | doc.cpp | 1089 case 25: return "OpTypeImage"; in OpcodeString() 1611 InstructionDesc[OpTypeImage].setResultAndType(true, false); in Parameterize() 1810 InstructionDesc[OpTypeImage].operands.push(OperandId, "'Sampled Type'"); in Parameterize() 1811 InstructionDesc[OpTypeImage].operands.push(OperandDimensionality, ""); in Parameterize() 1812 InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Depth'"); in Parameterize() 1813 InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Arrayed'"); in Parameterize() 1814 InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'MS'"); in Parameterize() 1815 InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Sampled'"); in Parameterize() 1816 InstructionDesc[OpTypeImage].operands.push(OperandSamplerImageFormat, ""); in Parameterize() 1817 InstructionDesc[OpTypeImage] in Parameterize() [all...] |
/third_party/spirv-tools/source/ |
H A D | opcode.cpp | 326 case spv::Op::OpTypeImage: in spvOpcodeGeneratesType() 482 case spv::Op::OpTypeImage: in spvOpcodeIsBaseOpaqueType()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderImage.cpp | 131 // To get to the OpTypeImage operands, traverse the OpTypeSampledImage or OpTypePointer. in ImageInstruction() 140 ASSERT(imageType.opcode() == spv::OpTypeImage); in ImageInstruction() 479 ASSERT(imageType.definition.opcode() == spv::OpTypeImage); in GetImageDimensions() 570 ASSERT(imageTy.definition.opcode() == spv::OpTypeImage); in EmitImageQuerySamples() 714 ASSERT(imageType.definition.opcode() == spv::OpTypeImage); in EmitImageRead() 727 // OpTypeImage. If float, then we want the depth aspect. If int, we want the stencil aspect. in EmitImageRead() 1134 ASSERT(imageType.definition.opcode() == spv::OpTypeImage); in EmitImageWrite()
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/ |
H A D | spirv.cs | 691 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 686 OpTypeImage = 25, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/ |
H A D | spirv.cs | 703 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 698 OpTypeImage = 25, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/ |
H A D | spirv.cs | 708 OpTypeImage = 25, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/ |
H A D | spirv.cs | 691 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 686 OpTypeImage = 25, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/ |
H A D | spirv.cs | 703 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 698 OpTypeImage = 25, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/ |
H A D | spirv.cs | 708 OpTypeImage = 25, enumerator
|
/third_party/spirv-headers/include/spirv/1.0/ |
H A D | spirv.cs | 691 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 686 OpTypeImage = 25, enumerator
|
/third_party/spirv-headers/include/spirv/1.1/ |
H A D | spirv.cs | 703 OpTypeImage = 25, enumerator
|
H A D | spirv.hpp | 698 OpTypeImage = 25, enumerator
|
/third_party/spirv-headers/include/spirv/1.2/ |
H A D | spirv.cs | 708 OpTypeImage = 25, enumerator
|