Searched refs:matrix_columns (Results 1 – 14 of 14) sorted by relevance
/external/mesa3d/src/glsl/ |
D | glsl_types.h | 112 unsigned matrix_columns:3; /**< 1, 2, 3, or 4 matrix columns. */ member 214 return vector_elements * matrix_columns; in components() 242 && (matrix_columns == 1) in is_vector() 253 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT); in is_matrix() 338 ? get_instance(base_type, matrix_columns, 1) in row_type() 399 unsigned matrix_columns, const char *name);
|
D | lower_mat_op_to_vec.cpp | 141 for (b_col = 0; b_col < b_var->type->matrix_columns; b_col++) { in do_mul_mat_mat() 152 for (i = 1; i < a_var->type->matrix_columns; i++) { in do_mul_mat_mat() 194 for (i = 1; i < a_var->type->matrix_columns; i++) { in do_mul_mat_vec() 224 for (i = 0; i < b_var->type->matrix_columns; i++) { in do_mul_vec_mat() 253 for (i = 0; i < a_var->type->matrix_columns; i++) { in do_mul_mat_scalar() 296 const unsigned columns = a_var->type->matrix_columns; in do_equal_mat_mat() 347 columns = expr->operands[i]->type->matrix_columns; in has_matrix_operand() 360 unsigned int i, matrix_columns = 1; in visit_leave() local 366 if (!has_matrix_operand(orig_expr, matrix_columns)) in visit_leave() 403 for (i = 0; i < matrix_columns; i++) { in visit_leave() [all …]
|
D | glsl_types.cpp | 50 unsigned matrix_columns, const char *name) : in glsl_type() argument 55 vector_elements(vector_elements), matrix_columns(matrix_columns), in glsl_type() 62 assert((vector_elements == 0) == (matrix_columns == 0)); in glsl_type() 73 vector_elements(0), matrix_columns(0), in glsl_type() 86 vector_elements(0), matrix_columns(0), in glsl_type() 252 vector_elements(0), matrix_columns(0), in glsl_type()
|
D | ir_set_program_inouts.cpp | 97 ir->type->length * ir->type->fields.array->matrix_columns); in visit() 100 mark(this->prog, ir->var, 0, ir->type->matrix_columns); in visit() 123 width = deref_var->type->fields.array->matrix_columns; in visit_enter()
|
D | ast_function.cpp | 397 ir->type->matrix_columns); in process_array_constructor() 741 const unsigned cols_to_init = MIN2(type->matrix_columns, in emit_inline_matrix_constructor() 755 for (unsigned i = cols_to_init; i < type->matrix_columns; i++) { in emit_inline_matrix_constructor() 782 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) in emit_inline_matrix_constructor() 791 ? 0 : src_matrix->type->matrix_columns; in emit_inline_matrix_constructor() 794 for (/* empty */; col < var->type->matrix_columns; col++) { in emit_inline_matrix_constructor() 832 const unsigned last_col = MIN2(src_matrix->type->matrix_columns, in emit_inline_matrix_constructor() 833 var->type->matrix_columns); in emit_inline_matrix_constructor() 867 const unsigned cols = type->matrix_columns; in emit_inline_matrix_constructor() 1136 for (int i = 0; i < matrix->type->matrix_columns; i++) { in hir() [all …]
|
D | ir_div_to_mul_rcp.cpp | 87 ir->operands[1]->type->matrix_columns); in visit_leave() 98 ir->operands[0]->type->matrix_columns); in visit_leave()
|
D | ir_function.cpp | 49 || (a->matrix_columns != b->matrix_columns)) in type_compare()
|
D | lower_instructions.cpp | 151 ir->operands[1]->type->matrix_columns); in div_to_mul_rcp() 162 ir->operands[0]->type->matrix_columns); in div_to_mul_rcp()
|
D | linker.cpp | 236 return t->matrix_columns; in count_attribute_slots() 1034 vec4_slots = type->length * array_elem_type->matrix_columns; in add_uniform() 1038 vec4_slots = type->matrix_columns; in add_uniform() 1473 * output_var->type->fields.array->matrix_columns; in assign_varying_locations() 1479 const unsigned slots = output_var->type->matrix_columns; in assign_varying_locations()
|
D | ir.cpp | 557 for (unsigned i = 0; i < type->matrix_columns; i++) in ir_constant() 591 unsigned cols = MIN2(type->matrix_columns, value->type->matrix_columns); in ir_constant() 602 for (unsigned i = cols; i < type->matrix_columns; i++) in ir_constant()
|
D | ir_to_llvm.cpp | 172 if (type->matrix_columns <= 1) { in llvm_type() 175 return llvm::ArrayType::get(vec_type, type->matrix_columns); in llvm_type() 627 …Type::get(llvm_base_type(ir->operands[1]->type->base_type), ir->operands[1]->type->matrix_columns); in llvm_expression() 629 for (unsigned int i = 0; i < ir->operands[1]->type->matrix_columns; i++) { in llvm_expression() 1156 for (unsigned i = 0; i < ir->type->matrix_columns; ++i) { in visit() 1189 if(ir->type->matrix_columns > 1) in visit()
|
D | lower_variable_index_to_cond_assign.cpp | 271 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
|
D | ir_constant_expression.cpp | 499 const unsigned p = op[1]->type->matrix_columns; in constant_expression_value() 1340 const unsigned m = op[0]->type->matrix_columns; in constant_expression_value()
|
D | ast_to_hir.cpp | 133 from->type->matrix_columns); in apply_implicit_conversion()
|