/third_party/mesa3d/src/compiler/glsl/ |
D | lower_mat_op_to_vec.cpp | 133 for (b_col = 0; b_col < b->type->matrix_columns; b_col++) { in do_mul_mat_mat() 140 for (i = 1; i < a->type->matrix_columns; i++) { in do_mul_mat_mat() 171 for (i = 1; i < a->type->matrix_columns; i++) { in do_mul_mat_vec() 192 for (i = 0; i < b->type->matrix_columns; i++) { in do_mul_vec_mat() 217 for (i = 0; i < a->type->matrix_columns; i++) { in do_mul_mat_scalar() 255 const unsigned columns = a->type->matrix_columns; in do_equal_mat_mat() 299 columns = expr->operands[i]->type->matrix_columns; in has_matrix_operand() 312 unsigned int i, matrix_columns = 1; in visit_leave() local 318 if (!has_matrix_operand(orig_expr, matrix_columns)) in visit_leave() 368 for (i = 0; i < matrix_columns; i++) { in visit_leave() [all …]
|
D | ir_constant_expression.cpp | 717 op[operand]->type->matrix_columns, in constant_expression_value() 732 op[operand]->type->matrix_columns, in constant_expression_value() 747 op[operand]->type->matrix_columns, in constant_expression_value() 768 return_type->matrix_columns, in constant_expression_value() 775 return_type->matrix_columns, in constant_expression_value() 782 return_type->matrix_columns, in constant_expression_value() 965 if (idx->value.i[0] < 0 || column >= array->type->matrix_columns) { in constant_expression_value()
|
D | ast_function.cpp | 1112 from->type->matrix_columns); in implicitly_convert_component() 1210 constructor_type->matrix_columns != parameter_count)) { in process_vec_mat_constructor() 1704 const unsigned cols_to_init = MIN2(type->matrix_columns, in emit_inline_matrix_constructor() 1719 for (unsigned i = cols_to_init; i < type->matrix_columns; i++) { in emit_inline_matrix_constructor() 1747 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) || in emit_inline_matrix_constructor() 1757 ? 0 : src_matrix->type->matrix_columns; in emit_inline_matrix_constructor() 1760 for (/* empty */; col < var->type->matrix_columns; col++) { in emit_inline_matrix_constructor() 1805 const unsigned last_col = MIN2(src_matrix->type->matrix_columns, in emit_inline_matrix_constructor() 1806 var->type->matrix_columns); in emit_inline_matrix_constructor() 1841 const unsigned cols = type->matrix_columns; in emit_inline_matrix_constructor() [all …]
|
D | gl_nir_link_varyings.h | 178 unsigned matrix_columns; member
|
D | ir_set_program_inouts.cpp | 287 elem_width = type->fields.array->matrix_columns; in try_mark_partial_variable() 291 num_elems = type->matrix_columns; in try_mark_partial_variable()
|
D | link_uniforms.cpp | 249 row_major ? matrix->matrix_columns : matrix->vector_elements; in link_calculate_matrix_stride()
|
D | opt_array_splitting.cpp | 60 this->size = var->type->matrix_columns; in variable_entry()
|
D | ir.cpp | 928 for (unsigned i = 0; i < type->matrix_columns; i++) { in ir_constant() 1000 unsigned cols = MIN2(type->matrix_columns, value->type->matrix_columns); in ir_constant() 1011 for (unsigned i = cols; i < type->matrix_columns; i++) in ir_constant()
|
D | gl_nir_link_varyings.c | 299 return xfb_decl->vector_elements * xfb_decl->matrix_columns * in xfb_decl_num_components() 369 xfb_decl->matrix_columns = matrix_cols; in xfb_decl_assign_location() 384 xfb_decl->matrix_columns = glsl_get_matrix_columns(xfb_decl->matched_candidate->type); in xfb_decl_assign_location() 431 return xfb_decl->size * xfb_decl->matrix_columns * rows_per_element; in xfb_decl_get_num_outputs()
|
D | lower_precision.cpp | 687 type->matrix_columns, in convert_type()
|
D | builtin_functions.cpp | 6579 for (int i = 0; i < type->matrix_columns; i++) { in _matrixCompMult() 6594 r = in_var(glsl_type::dvec(type->matrix_columns), "r"); in _outerProduct() 6597 r = in_var(glsl_type::vec(type->matrix_columns), "r"); in _outerProduct() 6603 for (int i = 0; i < type->matrix_columns; i++) { in _outerProduct() 6616 orig_type->matrix_columns, in _transpose() 6623 for (int i = 0; i < orig_type->matrix_columns; i++) { in _transpose()
|
D | glsl_to_nir.cpp | 325 const unsigned cols = ir->type->matrix_columns; in constant_copy()
|
D | ast_to_hir.cpp | 334 from->type->matrix_columns); in apply_implicit_conversion() 7254 return type->vector_elements == 1 && type->matrix_columns == 1; in is_valid_default_precision_type()
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 48 unsigned matrix_columns, const char *name, in glsl_type() argument 55 vector_elements(vector_elements), matrix_columns(matrix_columns), in glsl_type() 79 assert((vector_elements == 0) == (matrix_columns == 0)); in glsl_type() 102 matrix_columns = vector_elements = 1; in glsl_type() 112 vector_elements(0), matrix_columns(0), in glsl_type() 145 vector_elements(0), matrix_columns(0), in glsl_type() 170 vector_elements(0), matrix_columns(0), in glsl_type() 201 vector_elements(1), matrix_columns(1), in glsl_type() 442 this->matrix_columns); in get_bare_type() 481 this->matrix_columns, in get_float16_type() [all …]
|
D | glsl_types.h | 335 uint8_t matrix_columns; /**< 1, 2, 3, or 4 matrix columns. */ member 521 return vector_elements * matrix_columns; in components() 738 && (matrix_columns == 1) in is_vector() 749 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT || in is_matrix() 1143 return get_instance(base_type, matrix_columns, 1, explicit_stride); in row_type() 1145 return get_instance(base_type, matrix_columns, 1); in row_type() 1299 unsigned matrix_columns, const char *name,
|
D | nir_types.cpp | 165 return type->matrix_columns; in glsl_get_matrix_columns() 171 return type->is_matrix() ? type->matrix_columns : type->length; in glsl_get_length() 644 mat->matrix_columns, in glsl_explicit_matrix_type() 734 return glsl_type::get_instance(type->base_type, type->matrix_columns, in glsl_transposed_type() 890 *size = 16 * (type->matrix_columns - 1) + N * type->vector_elements; in glsl_get_vec4_size_align_bytes()
|
/third_party/mesa3d/src/mesa/main/ |
D | uniform_query.cpp | 373 uni->type->matrix_columns; in _mesa_get_uniform() 838 const unsigned vectors = uni->type->matrix_columns; in _mesa_propagate_uniforms_to_driver_storage() 995 columns = storage->type->matrix_columns; in associate_uniform_storage() 1058 storage->type->matrix_columns; in associate_uniform_storage() 1874 const unsigned vectors = uni->type->matrix_columns; in _mesa_uniform_matrix()
|
D | shader_query.cpp | 1125 (array_index * var->type->without_array()->matrix_columns); in program_resource_location()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_visitor.cpp | 588 return type->matrix_columns * col_slots; in type_size_xvec4()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.0.0.rst | 2169 - glsl: encode vector_elements and matrix_columns better
|