Home
last modified time | relevance | path

Searched refs:column_type (Results 1 – 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/sem/
Dmatrix_type.cc25 Matrix::Matrix(const Vector* column_type, uint32_t columns) in Matrix() argument
26 : subtype_(column_type->type()), in Matrix()
27 column_type_(column_type), in Matrix()
28 rows_(column_type->Width()), in Matrix()
Dmatrix_type.h34 Matrix(const Vector* column_type, uint32_t columns);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp289 auto column_type = in HandleTypeOrValue() local
291 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
Dfuzzer_pass.cpp308 opt::analysis::Type* column_type = in FindOrCreateMatrixType() local
310 opt::analysis::Matrix matrix_type(column_type, column_count); in FindOrCreateMatrixType()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp289 auto column_type = in HandleTypeOrValue() local
291 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
Dfuzzer_pass.cpp308 opt::analysis::Type* column_type = in FindOrCreateMatrixType() local
310 opt::analysis::Matrix matrix_type(column_type, column_count); in FindOrCreateMatrixType()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp289 auto column_type = in HandleTypeOrValue() local
291 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp100 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
101 if (!column_type) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
107 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
109 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
132 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp197 const auto column_type = words[2]; in getBaseAlignment() local
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
205 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
322 const auto column_type = words[2]; in getSize() local
323 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/spirv-tools/source/val/
Dvalidate_constants.cpp99 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
100 if (!column_type) { in ValidateConstantComposite()
104 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
106 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
108 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
131 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp215 const auto column_type = words[2]; in getBaseAlignment() local
217 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
223 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
355 const auto column_type = words[2]; in getSize() local
356 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_constants.cpp100 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
101 if (!column_type) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
107 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
109 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
132 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp197 const auto column_type = words[2]; in getBaseAlignment() local
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
205 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
322 const auto column_type = words[2]; in getSize() local
323 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp956 const glsl_type *const column_type = array->type->column_type(); in constant_expression_value() local
968 return new(mem_ctx) ir_constant(column_type, &data); in constant_expression_value()
974 const unsigned mat_idx = column * column_type->vector_elements; in constant_expression_value()
978 switch (column_type->base_type) { in constant_expression_value()
980 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
986 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
992 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
1001 return new(mem_ctx) ir_constant(column_type, &data); in constant_expression_value()
Dgl_nir_link_uniform_initializers.c125 const struct glsl_type *column_type = glsl_get_column_type(type); in copy_constant_to_storage() local
128 column_type, boolean_true); in copy_constant_to_storage()
Dast_function.cpp1164 const int c = component / src->type->column_type()->vector_elements; in dereference_component()
1165 const int r = component % src->type->column_type()->vector_elements; in dereference_component()
1170 col->type = src->type->column_type(); in dereference_component()
1231 if (ir->type != constructor_type->column_type()) { in process_vec_mat_constructor()
1234 constructor_type->column_type()->name, in process_vec_mat_constructor()
1759 const glsl_type *const col_type = var->type->column_type(); in emit_inline_matrix_constructor()
/third_party/skia/third_party/externals/tint/src/transform/
Dtransform_test.cc61 auto* column_type = b.create<sem::Vector>(b.create<sem::F32>(), 2u); in TEST_F() local
62 return b.create<sem::Matrix>(column_type, 3u); in TEST_F()
/third_party/mesa3d/src/compiler/
Dnir_types.cpp48 return type->column_type(); in glsl_get_array_element()
65 type = type->column_type(); in glsl_without_array_or_matrix()
135 return type->column_type(); in glsl_get_column_type()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test_helper.h324 auto* column_type = b.create<sem::Vector>(DataType<T>::Sem(b), M);
325 return b.create<sem::Matrix>(column_type, N);

12