/third_party/spirv-tools/test/ |
H A D | immediate_int_test.cpp | 60 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 2, 3}))); in TEST_F() 62 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 1, 2}))); in TEST_F() 63 EXPECT_THAT(CompiledInstructions("%a = OpTypeMatrix !2 %123"), in TEST_F() 64 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 2, 2}))); in TEST_F() 65 EXPECT_THAT(CompiledInstructions("%a = OpTypeMatrix %b !123"), in TEST_F() 66 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 2, 123}))); in TEST_F() 68 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 2, 2}))); in TEST_F() 70 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 1, 123}))); in TEST_F() 72 Eq(MakeInstruction(spv::Op::OpTypeMatrix, {1, 2, 123}))); in TEST_F() 194 const SpirvVector original = CompiledInstructions("%a = OpTypeMatrix in TEST_F() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_access_chains.cpp | 119 case spv::Op::OpTypeMatrix: in Apply() 145 case spv::Op::OpTypeMatrix: in Apply()
|
H A D | fuzzer_pass_add_composite_extract.cpp | 105 case spv::Op::OpTypeMatrix: in Apply() 127 case spv::Op::OpTypeMatrix: in Apply()
|
H A D | transformation_add_type_matrix.cpp | 56 ir_context, spv::Op::OpTypeMatrix, 0, message_.fresh_id(), in_operands); in Apply()
|
H A D | fuzzer_pass_construct_composites.cpp | 128 case spv::Op::OpTypeMatrix: in Apply() 194 assert(matrix_type_instruction.opcode() == spv::Op::OpTypeMatrix && in FindComponentsToConstructMatrix()
|
H A D | fuzzer_pass_add_composite_types.cpp | 121 case spv::Op::OpTypeMatrix: in ChooseScalarOrCompositeType()
|
H A D | fuzzer_pass_push_ids_through_variables.cpp | 135 case spv::Op::OpTypeMatrix: in Apply()
|
H A D | transformation_add_constant_composite.cpp | 65 case spv::Op::OpTypeMatrix: in IsApplicable()
|
H A D | transformation_add_parameter.cpp | 184 case spv::Op::OpTypeMatrix: in IsParameterTypeSupported()
|
H A D | fuzzer_util.cpp | 385 case spv::Op::OpTypeMatrix: in WalkOneCompositeTypeIndex() 443 case spv::Op::OpTypeMatrix: in GetBoundForCompositeIndex() 832 case spv::Op::OpTypeMatrix: in IsNullConstantSupported() 1269 case spv::Op::OpTypeMatrix: in MaybeGetZeroConstant() 1331 case spv::Op::OpTypeMatrix: in CanCreateConstant()
|
/third_party/spirv-tools/source/opt/ |
H A D | eliminate_dead_members_pass.cpp | 202 case spv::Op::OpTypeMatrix: in MarkMembersAsLiveForExtract() 248 case spv::Op::OpTypeMatrix: in MarkMembersAsLiveForAccessChain() 507 case spv::Op::OpTypeMatrix: in UpdateAccessChain() 580 case spv::Op::OpTypeMatrix: in UpdateCompsiteExtract() 641 case spv::Op::OpTypeMatrix: in UpdateCompositeInsert()
|
H A D | interface_var_sroa.cpp | 61 // Get the column type instruction of the OpTypeMatrix |matrix_type|. 64 assert(matrix_type->opcode() == spv::Op::OpTypeMatrix); in GetMatrixColumnType() 70 // Traverses the component type of OpTypeArray or OpTypeMatrix. Repeats it 72 // |type_id| is the result id of the OpTypeArray or OpTypeMatrix instruction. 86 assert(type_inst->opcode() == spv::Op::OpTypeMatrix); in GetComponentTypeOfArrayMatrix() 823 assert(interface_var_type->opcode() == spv::Op::OpTypeMatrix); in CreateScalarInterfaceVarsForMatrix() 853 if (interface_var_type->opcode() == spv::Op::OpTypeMatrix) { in CreateScalarInterfaceVarsForReplacement() 952 interface_var_type->opcode() != spv::Op::OpTypeMatrix) { in ReplaceInterfaceVarsWithScalars()
|
H A D | pass.cpp | 56 if (ty_inst->opcode() == spv::Op::OpTypeMatrix) { in GetBaseType()
|
H A D | convert_to_half_pass.cpp | 95 if (ty_inst->opcode() == spv::Op::OpTypeMatrix) in EquivFloatTypeId() 126 if (mty_inst->opcode() != spv::Op::OpTypeMatrix) return false; in MatConvertCleanup()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_type_matrix_test.cpp | 67 // %100 = OpTypeMatrix %8 2 in TEST() 75 ASSERT_EQ(spv::Op::OpTypeMatrix, in TEST() 81 // %101 = OpTypeMatrix %8 3 in TEST() 84 // %102 = OpTypeMatrix %8 4 in TEST() 87 // %103 = OpTypeMatrix %9 2 in TEST() 90 // %104 = OpTypeMatrix %9 3 in TEST() 93 // %105 = OpTypeMatrix %9 4 in TEST() 96 // %106 = OpTypeMatrix %10 2 in TEST() 99 // %107 = OpTypeMatrix %10 3 in TEST() 102 // %108 = OpTypeMatrix in TEST() [all...] |
/third_party/spirv-tools/source/reduce/ |
H A D | remove_struct_member_reduction_opportunity.cpp | 150 case spv::Op::OpTypeMatrix: in AdjustAccessedIndices()
|
H A D | remove_unused_struct_member_reduction_opportunity_finder.cpp | 167 case spv::Op::OpTypeMatrix: in MarkAccessedMembersAsUsed()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShader.cpp | 251 case spv::OpTypeMatrix: in robustBufferAccess() 827 case spv::OpTypeMatrix: in DeclareType() 1021 case spv::OpTypeMatrix: in ComputeTypeSize() 1074 case spv::OpTypeMatrix: in VisitInterfaceInner() 1166 case spv::OpTypeMatrix: in ApplyDecorationsForAccessChain() 1246 case spv::OpTypeMatrix: in WalkExplicitLayoutAccessChain() 1319 case spv::OpTypeMatrix: in WalkAccessChain() 1396 case spv::OpTypeMatrix: in WalkLiteralAccessChain() 1740 case spv::OpTypeMatrix: in EmitInstruction()
|
/third_party/spirv-tools/test/val/ |
H A D | val_type_unique_test.cpp | 43 %mat22t = OpTypeMatrix %vec2t 2 in GetHeader() 44 %mat33t = OpTypeMatrix %vec3t 3 in GetHeader() 45 %mat44t = OpTypeMatrix %vec4t 4 in GetHeader() 156 %mat33t2 = OpTypeMatrix %vec3t 3 in TEST_F() 161 HasSubstr(GetErrorString(spv::Op::OpTypeMatrix))); in TEST_F()
|
H A D | val_id_test.cpp | 785 %3 = OpTypeMatrix %2 3)"; 793 %2 = OpTypeMatrix %1 3)"; 799 "OpTypeMatrix %float 3\n"))); 806 %3 = OpTypeMatrix %2 2)"; 812 "types.\n %mat2v2ushort = OpTypeMatrix %v2ushort 2\n"))); 819 %3 = OpTypeMatrix %2 1)"; 826 "or 4 columns.\n %mat1v2float = OpTypeMatrix %v2float 1\n"))); 833 %3 = OpTypeMatrix %2 8)"; 840 "or 4 columns.\n %mat8v2float = OpTypeMatrix %v2float 8\n"))); 1351 %3 = OpTypeMatrix [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_constants.cpp | 88 case spv::Op::OpTypeMatrix: { in ValidateConstantComposite() 312 case spv::Op::OpTypeMatrix: in IsTypeNullable()
|
H A D | validate_decorations.cpp | 208 case spv::Op::OpTypeMatrix: { 273 case spv::Op::OpTypeMatrix: 343 case spv::Op::OpTypeMatrix: { 567 if (spv::Op::OpTypeMatrix == opcode) { 1267 spv::Op::OpTypeMatrix, vstate)) { 1280 spv::Op::OpTypeMatrix, vstate)) {
|
H A D | validate_composites.cpp | 78 case spv::Op::OpTypeMatrix: { in GetExtractInsertValueType() 252 case spv::Op::OpTypeMatrix: { in ValidateCompositeConstruct() 486 << "Expected Matrix to be of type OpTypeMatrix"; in ValidateTranspose()
|
/third_party/glslang/SPIRV/ |
H A D | SPVRemapper.cpp | 86 case spv::OpTypeMatrix: // ... in literalRange() 102 case spv::OpTypeMatrix: // ... in typeRange() 210 case spv::OpTypeMatrix: in isTypeOp() 1320 case spv::OpTypeMatrix: in hashType()
|
/third_party/spirv-tools/source/ |
H A D | name_mapper.cpp | 240 case spv::Op::OpTypeMatrix: in ParseInstruction()
|