Home
last modified time | relevance | path

Searched refs:is_matrix (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlower_mat_op_to_vec.cpp80 if (expr->operands[i]->type->is_matrix()) in mat_op_to_vec_predicate()
116 if (val->type->is_matrix()) { in get_column()
298 if (expr->operands[i]->type->is_matrix()) { in has_matrix_operand()
403 if (op[0]->type->is_matrix()) { in visit_leave()
404 if (op[1]->type->is_matrix()) { in visit_leave()
413 assert(op[1]->type->is_matrix()); in visit_leave()
Dopt_rebalance_tree.cpp236 if (expr->type->is_matrix() || in is_reduction()
237 expr->operands[0]->type->is_matrix() || in is_reduction()
238 (expr->operands[1] && expr->operands[1]->type->is_matrix())) { in is_reduction()
Dopt_algebraic.cpp260 if (ir1->operands[0]->type->is_matrix() || in reassociate_constant()
261 ir1->operands[1]->type->is_matrix() || in reassociate_constant()
262 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
263 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
319 ir->operands[0]->type->is_matrix() && in handle_expression()
324 matrix_mul->operands[0]->type->is_matrix() && in handle_expression()
325 matrix_mul->operands[1]->type->is_matrix()) { in handle_expression()
334 if (ir->operands[i]->type->is_matrix()) in handle_expression()
Dast_array_index.cpp150 && !array->type->is_matrix() in _mesa_ast_array_index_to_hir()
184 if (array->type->is_matrix()) { in _mesa_ast_array_index_to_hir()
347 || array->type->is_matrix() in _mesa_ast_array_index_to_hir()
Dast_function.cpp919 assert(src->type->is_matrix()); in dereference_component()
969 || (constructor_type->is_matrix() && in process_vec_mat_constructor()
990 if (constructor_type->is_matrix()) { in process_vec_mat_constructor()
1019 if (var->type->is_matrix()) { in process_vec_mat_constructor()
1489 } else if (first_param->type->is_matrix()) { in emit_inline_matrix_constructor()
1825 } else if (op->type->is_matrix()) { in handle_method()
1964 if (result->type->is_matrix()) in hir()
1979 && constructor_type->is_matrix() in hir()
1993 && constructor_type->is_matrix()) { in hir()
2018 if (!constructor_type->is_matrix()) { in hir()
[all …]
Dlower_buffer_access.cpp107 if (deref->type->is_matrix()) { in emit_access()
238 matrix = matrix || ir->type->without_array()->is_matrix(); in is_dereferenced_thing_row_major()
362 } else if (deref_array->array->type->is_matrix() && *row_major) { in setup_buffer_access()
Dir.cpp402 assert(!op0->type->is_matrix()); in ir_expression()
403 assert(!op1->type->is_matrix()); in ir_expression()
651 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
691 if (type->is_matrix()) { in ir_constant()
731 if (type->is_matrix() && value->type->is_matrix()) { in ir_constant()
801 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
1026 if (!type->is_vector() && !type->is_matrix()) { in copy_masked_offset()
1242 } else if (vt->is_matrix()) { in set_array()
Dopt_flip_matrices.cpp73 !ir->operands[0]->type->is_matrix() || in visit_enter()
Dir_set_program_inouts.cpp267 if (!(type->is_matrix() || in try_mark_partial_variable()
286 if (type->fields.array->is_matrix()) in try_mark_partial_variable()
Dopt_array_splitting.cpp134 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry()
440 if (type->is_matrix()) in optimize_split_arrays()
Dlower_packed_varyings.cpp468 } else if (rvalue->type->is_matrix()) { in lower_rvalue()
695 !((type->is_array() || type->is_record() || type->is_matrix()) && in needs_lowering()
Dir_constant_expression.cpp423 } else if (vt->is_matrix()) { in constant_referenced()
737 if (array->type->is_matrix()) { in constant_expression_value()
Dloop_unroll.cpp124 if ((ir->array->type->is_array() || ir->array->type->is_matrix()) && in visit_enter()
Dlink_atomics.cpp248 if (!var->type->is_matrix()) in link_assign_atomic_counter_resources()
Dlower_variable_index_to_cond_assign.cpp122 return (ir->type->is_array() || ir->type->is_matrix()); in is_array_or_matrix()
Dlink_uniform_blocks.cpp113 v->RowMajor = type->without_array()->is_matrix() && row_major; in visit_field()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_types.cpp43 if (type->is_matrix()) { in st_glsl_attrib_type_size()
55 if (type->is_matrix()) { in st_glsl_attrib_type_size()
/external/mesa3d/src/compiler/
Dnir_types.cpp40 if (type->is_matrix()) in glsl_get_array_element()
102 return type->is_matrix() ? type->matrix_columns : type->length; in glsl_get_length()
178 return type->is_matrix(); in glsl_type_is_matrix()
Dglsl_types.h454 bool is_matrix() const in is_matrix() function
692 return is_matrix() in row_type()
706 return is_matrix() in column_type()
Dglsl_types.cpp1137 } else if (type_a->is_matrix() && type_b->is_matrix()) { in get_mul_type()
1157 } else if (type_a->is_matrix()) { in get_mul_type()
1175 assert(type_b->is_matrix()); in get_mul_type()
1475 this->fields.array->is_matrix()) { in std140_base_alignment()
1493 if (this->is_matrix()) { in std140_base_alignment()
1581 if (this->without_array()->is_matrix()) { in std140_size()
1739 if (this->is_matrix()) { in std430_base_alignment()
1824 if (this->without_array()->is_matrix()) { in std430_size()
/external/vulkan-validation-layers/libs/glm/detail/
Dtype_gentype.hpp63 static bool is_matrix();
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_channel_expressions.cpp196 assert(!expr->operands[i]->type->is_matrix()); in visit_leave()
/external/mesa3d/src/mesa/main/
Duniform_query.cpp713 if (uni->type->is_matrix()) { in _mesa_uniform()
929 if (!uni->type->is_matrix()) { in _mesa_uniform_matrix()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp74 if (type && (type->is_scalar() || type->is_vector() || type->is_matrix())) in src_reg()
511 if (type->is_matrix()) { in type_size()
523 if (type->is_matrix()) { in type_size()
1014 assert(!ir->operands[operand]->type->is_matrix()); in visit()
1903 if (ir->type->is_matrix()) { in visit()
/external/mesa3d/prebuilt-intermediates/glsl/
Dir_expression_operation_constant.h807 if ((op[0]->type == op[1]->type && !op[0]->type->is_matrix())
831 assert(op[0]->type->is_matrix() || op[1]->type->is_matrix());

12