Searched refs:matrix_columns (Results 1 - 25 of 54) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_types.cpp46 return type->matrix_columns;
59 return type->matrix_columns;
61 return type->matrix_columns * 2;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_mat_op_to_vec.cpp133 for (b_col = 0; b_col < b->type->matrix_columns; b_col++) {
140 for (i = 1; i < a->type->matrix_columns; i++) {
171 for (i = 1; i < a->type->matrix_columns; i++) {
192 for (i = 0; i < b->type->matrix_columns; i++) {
217 for (i = 0; i < a->type->matrix_columns; i++) {
255 const unsigned columns = a->type->matrix_columns;
299 columns = expr->operands[i]->type->matrix_columns;
312 unsigned int i, matrix_columns = 1; local in function:ir_mat_op_to_vec_visitor::visit_leave
318 if (!has_matrix_operand(orig_expr, matrix_columns))
368 for (i = 0; i < matrix_columns;
[all...]
H A Dlink_varyings.h167 return this->vector_elements * this->matrix_columns * this->size *
252 unsigned matrix_columns; member in class:tfeedback_decl
H A Dir_constant_expression.cpp717 op[operand]->type->matrix_columns,
732 op[operand]->type->matrix_columns,
747 op[operand]->type->matrix_columns,
768 return_type->matrix_columns,
775 return_type->matrix_columns,
782 return_type->matrix_columns,
965 if (idx->value.i[0] < 0 || column >= array->type->matrix_columns) {
H A Dir_set_program_inouts.cpp287 elem_width = type->fields.array->matrix_columns;
291 num_elems = type->matrix_columns;
H A Dast_function.cpp1111 from->type->matrix_columns);
1209 constructor_type->matrix_columns != parameter_count)) {
1704 const unsigned cols_to_init = MIN2(type->matrix_columns,
1719 for (unsigned i = cols_to_init; i < type->matrix_columns; i++) {
1747 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) ||
1757 ? 0 : src_matrix->type->matrix_columns;
1760 for (/* empty */; col < var->type->matrix_columns; col++) {
1805 const unsigned last_col = MIN2(src_matrix->type->matrix_columns,
1806 var->type->matrix_columns);
[all...]
H A Dlower_buffer_access.cpp115 for (unsigned i = 0; i < deref->type->matrix_columns; i++) {
H A Dopt_array_splitting.cpp60 this->size = var->type->matrix_columns;
H A Dlower_variable_index_to_cond_assign.cpp441 : orig_deref->array->type->matrix_columns;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_mat_op_to_vec.cpp133 for (b_col = 0; b_col < b->type->matrix_columns; b_col++) {
140 for (i = 1; i < a->type->matrix_columns; i++) {
171 for (i = 1; i < a->type->matrix_columns; i++) {
192 for (i = 0; i < b->type->matrix_columns; i++) {
217 for (i = 0; i < a->type->matrix_columns; i++) {
255 const unsigned columns = a->type->matrix_columns;
299 columns = expr->operands[i]->type->matrix_columns;
312 unsigned int i, matrix_columns = 1; local in function:ir_mat_op_to_vec_visitor::visit_leave
318 if (!has_matrix_operand(orig_expr, matrix_columns))
365 for (i = 0; i < matrix_columns;
[all...]
H A Dlink_varyings.h155 return this->vector_elements * this->matrix_columns * this->size *
240 unsigned matrix_columns; member in class:tfeedback_decl
H A Dast_function.cpp1054 from->type->matrix_columns);
1152 constructor_type->matrix_columns != parameter_count)) {
1647 const unsigned cols_to_init = MIN2(type->matrix_columns,
1662 for (unsigned i = cols_to_init; i < type->matrix_columns; i++) {
1690 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) ||
1700 ? 0 : src_matrix->type->matrix_columns;
1703 for (/* empty */; col < var->type->matrix_columns; col++) {
1748 const unsigned last_col = MIN2(src_matrix->type->matrix_columns,
1749 var->type->matrix_columns);
[all...]
H A Dir_set_program_inouts.cpp287 elem_width = type->fields.array->matrix_columns;
291 num_elems = type->matrix_columns;
H A Dlower_buffer_access.cpp115 for (unsigned i = 0; i < deref->type->matrix_columns; i++) {
H A Dopt_array_splitting.cpp60 this->size = var->type->matrix_columns;
H A Dir.cpp790 for (unsigned i = 0; i < type->matrix_columns; i++) {
843 unsigned cols = MIN2(type->matrix_columns, value->type->matrix_columns);
854 for (unsigned i = cols; i < type->matrix_columns; i++)
H A Dlower_variable_index_to_cond_assign.cpp441 : orig_deref->array->type->matrix_columns;
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp49 unsigned matrix_columns, const char *name,
56 vector_elements(vector_elements), matrix_columns(matrix_columns),
80 assert((vector_elements == 0) == (matrix_columns == 0));
103 matrix_columns = vector_elements = 1;
113 vector_elements(0), matrix_columns(0),
146 vector_elements(0), matrix_columns(0),
171 vector_elements(0), matrix_columns(0),
202 vector_elements(1), matrix_columns(1),
443 this->matrix_columns);
47 glsl_type(GLenum gl_type,glsl_base_type base_type,unsigned vector_elements,unsigned matrix_columns,const char * name,unsigned explicit_stride,bool row_major,unsigned explicit_alignment) argument
2923 unsigned matrix_columns:3; member in struct:packed_type::__anon827c2e3d0108
[all...]
H A Dglsl_types.h331 uint8_t matrix_columns; /**< 1, 2, 3, or 4 matrix columns. */ member in struct:glsl_type
513 return vector_elements * matrix_columns;
730 && (matrix_columns == 1)
741 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT ||
1127 return get_instance(base_type, matrix_columns, 1, explicit_stride);
1129 return get_instance(base_type, matrix_columns, 1);
1283 unsigned matrix_columns, const char *name,
H A Dnir_types.cpp146 return type->matrix_columns;
152 return type->is_matrix() ? type->matrix_columns : type->length;
574 mat->matrix_columns,
657 return glsl_type::get_instance(type->base_type, type->matrix_columns,
812 *size = 16 * (type->matrix_columns - 1) + N * type->vector_elements;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.h241 uint8_t matrix_columns; /**< 1, 2, 3, or 4 matrix columns. */ member in struct:glsl_type
399 return vector_elements * matrix_columns;
560 && (matrix_columns == 1)
571 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT ||
866 return get_instance(base_type, matrix_columns, 1, explicit_stride);
868 return get_instance(base_type, matrix_columns, 1);
1001 unsigned matrix_columns, const char *name,
H A Dglsl_types.cpp48 unsigned matrix_columns, const char *name,
54 vector_elements(vector_elements), matrix_columns(matrix_columns),
77 assert((vector_elements == 0) == (matrix_columns == 0));
99 matrix_columns = vector_elements = 1;
108 vector_elements(0), matrix_columns(0),
138 vector_elements(0), matrix_columns(0),
163 vector_elements(0), matrix_columns(0),
192 vector_elements(1), matrix_columns(1),
433 this->matrix_columns);
46 glsl_type(GLenum gl_type,glsl_base_type base_type,unsigned vector_elements,unsigned matrix_columns,const char * name,unsigned explicit_stride,bool row_major) argument
[all...]
H A Dnir_types.cpp140 return type->matrix_columns;
146 return type->is_matrix() ? type->matrix_columns : type->length;
498 mat->matrix_columns,
561 return glsl_type::get_instance(type->base_type, type->matrix_columns,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp185 storage->type->matrix_columns);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dir_to_mesa.cpp518 return type->matrix_columns;
531 return type->matrix_columns * 2;
533 return type->matrix_columns;
1931 for (i = 0; i < ir->type->matrix_columns; i++) {
2440 num_params *= type->without_array()->matrix_columns;
2579 columns = storage->type->matrix_columns;
2641 storage->type->matrix_columns;

Completed in 36 milliseconds

123