Home
last modified time | relevance | path

Searched refs:OpTypeImage (Results 1 - 25 of 63) sorted by relevance

123

/third_party/spirv-tools/test/
H A Dtext_to_binary.type_declaration_test.cpp32 // 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 Dvalidate_image.cpp80 // 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 Dvalidate_type.cpp412 (opcode == spv::Op::OpTypeImage || opcode == spv::Op::OpTypeSampler || in ValidateTypeStruct()
451 if (type->opcode() == spv::Op::OpTypeImage) { in ValidateTypePointer()
H A Dvalidate_logicals.cpp172 case spv::Op::OpTypeImage: in LogicalsPass()
/third_party/spirv-tools/source/opt/
H A Dinline_opaque_pass.cpp31 case spv::Op::OpTypeImage: in IsOpaqueType()
H A Dinstruction.cpp294 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 Dtrim_capabilities_pass.cpp289 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 Ddoc.cpp1089 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 Dopcode.cpp326 case spv::Op::OpTypeImage: in spvOpcodeGeneratesType()
482 case spv::Op::OpTypeImage: in spvOpcodeIsBaseOpaqueType()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp131 // 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 Dspirv.cs691 OpTypeImage = 25, enumerator
H A Dspirv.hpp686 OpTypeImage = 25, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/
H A Dspirv.cs703 OpTypeImage = 25, enumerator
H A Dspirv.hpp698 OpTypeImage = 25, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/
H A Dspirv.cs708 OpTypeImage = 25, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
H A Dspirv.cs691 OpTypeImage = 25, enumerator
H A Dspirv.hpp686 OpTypeImage = 25, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
H A Dspirv.cs703 OpTypeImage = 25, enumerator
H A Dspirv.hpp698 OpTypeImage = 25, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/
H A Dspirv.cs708 OpTypeImage = 25, enumerator
/third_party/spirv-headers/include/spirv/1.0/
H A Dspirv.cs691 OpTypeImage = 25, enumerator
H A Dspirv.hpp686 OpTypeImage = 25, enumerator
/third_party/spirv-headers/include/spirv/1.1/
H A Dspirv.cs703 OpTypeImage = 25, enumerator
H A Dspirv.hpp698 OpTypeImage = 25, enumerator
/third_party/spirv-headers/include/spirv/1.2/
H A Dspirv.cs708 OpTypeImage = 25, enumerator

Completed in 62 milliseconds

123