Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glsl/
Dlower_mat_op_to_vec.cpp76 if (expr->operands[i]->type->is_matrix()) in mat_op_to_vec_predicate()
112 if (val->type->is_matrix()) { in get_column()
290 if (expr->operands[i]->type->is_matrix()) { in has_matrix_operand()
393 if (op[0]->type->is_matrix()) { in visit_leave()
394 if (op[1]->type->is_matrix()) { in visit_leave()
403 assert(op[1]->type->is_matrix()); in visit_leave()
Dopt_algebraic.cpp135 if (ir1->operands[0]->type->is_matrix() || in reassociate_constant()
136 ir1->operands[1]->type->is_matrix() || in reassociate_constant()
137 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
138 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
196 if (ir->operands[i]->type->is_matrix()) in handle_expression()
Dglsl_types.h323 bool is_matrix() const in is_matrix() function
421 return is_matrix() in row_type()
435 return is_matrix() in column_type()
Dir.cpp355 assert(!op0->type->is_matrix() && !op1->type->is_matrix()); in ir_expression()
601 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
642 if (type->is_matrix()) { in ir_constant()
671 if (type->is_matrix() && value->type->is_matrix()) { in ir_constant()
735 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
936 if (!type->is_vector() && !type->is_matrix()) { in copy_masked_offset()
1231 } else if (vt->is_matrix()) { in set_array()
Dglsl_types.cpp679 this->fields.array->is_matrix()) { in std140_base_alignment()
696 if (this->is_matrix()) { in std140_base_alignment()
779 if (this->is_matrix() || (this->is_array() && in std140_size()
780 this->fields.array->is_matrix())) { in std140_size()
Dlower_vec_index_to_cond_assign.cpp79 if (orig_deref->array->type->is_matrix() || in convert_vec_index_to_cond_assign()
177 orig_deref->array->type->is_matrix() || in visit_leave()
Dast_function.cpp534 assert(src->type->is_matrix()); in dereference_component()
995 } else if (first_param->type->is_matrix()) { in emit_inline_matrix_constructor()
1356 if (result->type->is_matrix()) in hir()
1371 && constructor_type->is_matrix()) { in hir()
1385 && constructor_type->is_matrix()) { in hir()
1414 if (!matrix->type->is_matrix()) in hir()
1476 assert(constructor_type->is_matrix()); in hir()
Dlower_ubo_reference.cpp107 if (deref_array->array->type->is_matrix() && row_major) { in handle_rvalue()
245 if (deref->type->is_matrix()) { in emit_ubo_loads()
Dopt_array_splitting.cpp125 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry()
372 if (type->is_matrix()) in optimize_split_arrays()
Dlower_vec_index_to_swizzle.cpp70 if (deref->array->type->is_matrix() || deref->array->type->is_array()) in convert_vec_index_to_swizzle()
Dast_to_hir.cpp264 assert(type_a->is_matrix() || type_b->is_matrix()); in arithmetic_result_type()
287 if (type_a->is_matrix() && type_b->is_matrix()) { in arithmetic_result_type()
307 } else if (type_a->is_matrix()) { in arithmetic_result_type()
325 assert(type_b->is_matrix()); in arithmetic_result_type()
1544 && !array->type->is_matrix() in hir()
1573 if (array->type->is_matrix()) { in hir()
1589 if (array->type->is_matrix()) { in hir()
4079 if (var->type->is_matrix() || in hir()
4080 (var->type->is_array() && var->type->fields.array->is_matrix())) { in hir()
Dir_set_program_inouts.cpp140 deref_var->type->fields.array->is_matrix()) { in visit_enter()
Dlink_uniforms.cpp348 if (type->is_matrix() || in visit_field()
349 (type->is_array() && type->fields.array->is_matrix())) { in visit_field()
Dir_constant_expression.cpp563 if ((op[0]->type == op[1]->type && !op[0]->type->is_matrix()) in constant_expression_value()
584 assert(op[0]->type->is_matrix() || op[1]->type->is_matrix()); in constant_expression_value()
1058 if (vt->is_matrix()) { in constant_referenced()
1081 if (array->type->is_matrix()) { in constant_expression_value()
Dlower_variable_index_to_cond_assign.cpp122 return (ir->type->is_array() || ir->type->is_matrix()); in is_array_or_matrix()
Dlinker.cpp248 if (t->is_matrix()) in count_attribute_slots()
/external/vulkan-validation-layers/libs/glm/detail/
Dtype_gentype.hpp63 static bool is_matrix();
Dtype_gentype.inl66 bool base<vT, cT, rT, pT>::is_matrix() function in glm::detail::base
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_visitor.cpp374 if (type->is_matrix()) { in type_size()
466 if (type->is_matrix()) { in setup_uniform_values()
1025 assert(!ir->operands[operand]->type->is_matrix()); in visit()
1436 if (type->is_scalar() || type->is_vector() || type->is_matrix()) in visit()
1484 if (ir->type->is_scalar() || ir->type->is_vector() || ir->type->is_matrix()) in visit()
1509 if (ir->type->is_scalar() || ir->type->is_vector() || ir->type->is_matrix()) in visit()
1561 if (type->is_matrix()) { in emit_block_move()
1667 (ir->rhs->type->is_matrix() in visit()
1753 if (ir->type->is_matrix()) { in emit_constant_values()
Dbrw_fs_channel_expressions.cpp163 assert(!expr->operands[i]->type->is_matrix()); in visit_leave()
Dbrw_vec4.cpp68 if (type && (type->is_scalar() || type->is_vector() || type->is_matrix())) in src_reg()
Dbrw_fs.cpp511 if (type->is_matrix()) { in setup_uniform_values()
/external/mesa3d/src/mesa/main/
Duniform_query.cpp682 if (uni->type->is_matrix() || components != src_components || !match) { in _mesa_uniform()
846 if (!uni->type->is_matrix()) { in _mesa_uniform_matrix()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp76 if (type && (type->is_scalar() || type->is_vector() || type->is_matrix())) in src_reg()
602 if (type->is_matrix()) { in type_size()
1138 assert(!ir->operands[operand]->type->is_matrix()); in visit()
1910 if (ir->type->is_matrix()) { in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp106 if (type && (type->is_scalar() || type->is_vector() || type->is_matrix())) in st_src_reg()
947 if (type->is_matrix()) { in type_size()
1378 assert(!ir->operands[operand]->type->is_matrix()); in visit()
2377 if (ir->type->is_matrix()) { in visit()
2969 if (element_type->is_matrix()) { in set_uniform_initializer()

12