/third_party/skia/third_party/externals/tint/src/sem/ |
D | matrix_type.cc | 25 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()
|
D | matrix_type.h | 34 Matrix(const Vector* column_type, uint32_t columns);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_matrix.cpp | 40 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()
|
D | fuzzer_pass_donate_modules.cpp | 289 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()
|
D | fuzzer_pass.cpp | 308 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/ |
D | transformation_add_type_matrix.cpp | 40 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()
|
D | fuzzer_pass_donate_modules.cpp | 289 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()
|
D | fuzzer_pass.cpp | 308 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/ |
D | transformation_add_type_matrix.cpp | 40 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()
|
D | fuzzer_pass_donate_modules.cpp | 289 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/ |
D | validate_constants.cpp | 100 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()
|
D | validate_type.cpp | 185 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()
|
D | validate_decorations.cpp | 197 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/ |
D | validate_constants.cpp | 99 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()
|
D | validate_type.cpp | 185 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()
|
D | validate_decorations.cpp | 215 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/ |
D | validate_constants.cpp | 100 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()
|
D | validate_type.cpp | 185 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()
|
D | validate_decorations.cpp | 197 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/ |
D | ir_constant_expression.cpp | 956 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()
|
D | gl_nir_link_uniform_initializers.c | 125 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()
|
D | ast_function.cpp | 1164 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/ |
D | transform_test.cc | 61 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/ |
D | nir_types.cpp | 48 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/ |
D | resolver_test_helper.h | 324 auto* column_type = b.create<sem::Vector>(DataType<T>::Sem(b), M); 325 return b.create<sem::Matrix>(column_type, N);
|