Home
last modified time | relevance | path

Searched refs:OpTypeMatrix (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/spirv-tools/test/
H A Dimmediate_int_test.cpp60 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 Dfuzzer_pass_add_access_chains.cpp119 case spv::Op::OpTypeMatrix: in Apply()
145 case spv::Op::OpTypeMatrix: in Apply()
H A Dfuzzer_pass_add_composite_extract.cpp105 case spv::Op::OpTypeMatrix: in Apply()
127 case spv::Op::OpTypeMatrix: in Apply()
H A Dtransformation_add_type_matrix.cpp56 ir_context, spv::Op::OpTypeMatrix, 0, message_.fresh_id(), in_operands); in Apply()
H A Dfuzzer_pass_construct_composites.cpp128 case spv::Op::OpTypeMatrix: in Apply()
194 assert(matrix_type_instruction.opcode() == spv::Op::OpTypeMatrix && in FindComponentsToConstructMatrix()
H A Dfuzzer_pass_add_composite_types.cpp121 case spv::Op::OpTypeMatrix: in ChooseScalarOrCompositeType()
H A Dfuzzer_pass_push_ids_through_variables.cpp135 case spv::Op::OpTypeMatrix: in Apply()
H A Dtransformation_add_constant_composite.cpp65 case spv::Op::OpTypeMatrix: in IsApplicable()
H A Dtransformation_add_parameter.cpp184 case spv::Op::OpTypeMatrix: in IsParameterTypeSupported()
H A Dfuzzer_util.cpp385 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 Deliminate_dead_members_pass.cpp202 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 Dinterface_var_sroa.cpp61 // 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 Dpass.cpp56 if (ty_inst->opcode() == spv::Op::OpTypeMatrix) { in GetBaseType()
H A Dconvert_to_half_pass.cpp95 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 Dtransformation_add_type_matrix_test.cpp67 // %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 Dremove_struct_member_reduction_opportunity.cpp150 case spv::Op::OpTypeMatrix: in AdjustAccessedIndices()
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp167 case spv::Op::OpTypeMatrix: in MarkAccessedMembersAsUsed()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShader.cpp251 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 Dval_type_unique_test.cpp43 %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 Dval_id_test.cpp785 %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 Dvalidate_constants.cpp88 case spv::Op::OpTypeMatrix: { in ValidateConstantComposite()
312 case spv::Op::OpTypeMatrix: in IsTypeNullable()
H A Dvalidate_decorations.cpp208 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 Dvalidate_composites.cpp78 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 DSPVRemapper.cpp86 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 Dname_mapper.cpp240 case spv::Op::OpTypeMatrix: in ParseInstruction()

Completed in 36 milliseconds

1234