Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/glsl/
DGrGLSLVarying.h20 static bool is_matrix(GrSLType type) { in is_matrix() function
48 SkASSERT(!is_matrix(type)); in fType()
53 SkASSERT(!is_matrix(type));
/external/skqp/src/gpu/glsl/
DGrGLSLVarying.h20 static bool is_matrix(GrSLType type) { in is_matrix() function
48 SkASSERT(!is_matrix(type)); in fType()
53 SkASSERT(!is_matrix(type));
/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()
406 if (op[0]->type->is_matrix()) { in visit_leave()
407 if (op[1]->type->is_matrix()) { in visit_leave()
416 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()
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()
353 || array->type->is_matrix() in _mesa_ast_array_index_to_hir()
Dopt_algebraic.cpp261 if (ir1->operands[0]->type->is_matrix() || in reassociate_constant()
262 ir1->operands[1]->type->is_matrix() || in reassociate_constant()
263 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
264 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
321 ir->operands[0]->type->is_matrix() && in handle_expression()
326 matrix_mul->operands[0]->type->is_matrix() && in handle_expression()
327 matrix_mul->operands[1]->type->is_matrix()) { in handle_expression()
336 if (ir->operands[i]->type->is_matrix()) in handle_expression()
Dlower_buffer_access.cpp114 if (deref->type->is_matrix()) { in emit_access()
188 matrix = matrix || ir->type->without_array()->is_matrix(); in is_dereferenced_thing_row_major()
312 } else if (deref_array->array->type->is_matrix() && *row_major) { in setup_buffer_access()
Dast_function.cpp1158 assert(src->type->is_matrix()); in dereference_component()
1208 || (constructor_type->is_matrix() && in process_vec_mat_constructor()
1229 if (constructor_type->is_matrix()) { in process_vec_mat_constructor()
1258 if (var->type->is_matrix()) { in process_vec_mat_constructor()
1731 } else if (first_param->type->is_matrix()) { in emit_inline_matrix_constructor()
2066 } else if (op->type->is_matrix()) { in handle_method()
2224 if (result->type->is_matrix()) in hir()
2239 && constructor_type->is_matrix() in hir()
2253 && constructor_type->is_matrix()) { in hir()
2278 if (!constructor_type->is_matrix()) { in hir()
[all …]
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()
463 if (type->is_matrix()) in optimize_split_arrays()
Dir.cpp517 assert(!op0->type->is_matrix()); in ir_expression()
518 assert(!op1->type->is_matrix()); in ir_expression()
903 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
934 if (type->is_matrix()) { in ir_constant()
1000 if (type->is_matrix() && value->type->is_matrix()) { in ir_constant()
1085 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
1456 if (!type->is_vector() && !type->is_matrix()) { in copy_masked_offset()
1715 } else if (vt->is_matrix()) { in set_array()
Dlower_packed_varyings.cpp548 } else if (rvalue->type->is_matrix()) { in lower_rvalue()
782 !(type->is_array() || type->is_struct() || type->is_matrix()) && in needs_lowering()
792 !((type->is_array() || type->is_struct() || type->is_matrix()) && in needs_lowering()
Dlink_atomics.cpp250 if (!var->type->is_matrix()) in link_assign_atomic_counter_resources()
Dloop_unroll.cpp119 if ((ir->array->type->is_array() || ir->array->type->is_matrix()) && in visit_enter()
Dir_constant_expression.cpp517 } else if (vt->is_matrix()) { in constant_referenced()
951 if (array->type->is_matrix()) { in constant_expression_value()
Dlower_variable_index_to_cond_assign.cpp114 return (ir->type->is_array() || ir->type->is_matrix()); in is_array_or_matrix()
Dlink_uniform_blocks.cpp117 v->RowMajor = type->without_array()->is_matrix() && row_major; in visit_field()
/external/mesa3d/src/compiler/
Dnir_types.cpp46 if (type->is_matrix()) in glsl_get_array_element()
63 if (type->is_matrix()) in glsl_without_array_or_matrix()
152 return type->is_matrix() ? type->matrix_columns : type->length; in glsl_get_length()
285 return type->is_matrix(); in glsl_type_is_matrix()
291 assert(type->is_matrix() && type->explicit_stride); in glsl_matrix_type_is_row_major()
316 return type->is_array() || type->is_matrix(); in glsl_type_is_array_or_matrix()
Dglsl_types.cpp1492 if (type_a->is_matrix() && type_b->is_matrix()) { in get_mul_type()
1514 } else if (type_a->is_matrix()) { in get_mul_type()
1532 assert(type_b->is_matrix()); in get_mul_type()
1853 this->fields.array->is_matrix()) { in std140_base_alignment()
1871 if (this->is_matrix()) { in std140_base_alignment()
1960 if (this->without_array()->is_matrix()) { in std140_size()
2069 } else if (this->is_matrix()) { in get_explicit_std140_type()
2196 if (this->is_matrix()) { in std430_base_alignment()
2310 } else if (this->is_matrix()) { in explicit_size()
2353 if (this->without_array()->is_matrix()) { in std430_size()
[all …]
Dglsl_types.h736 bool is_matrix() const in is_matrix() function
1121 if (!is_matrix()) in row_type()
1139 if (!is_matrix()) in column_type()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp112 void is_matrix();
370 PROGRAM_PRELUDE_DECLARE(is_matrix, in PROGRAM_PRELUDE_INCLUDE()
439 is_matrix()) in PROGRAM_PRELUDE_INCLUDE()
470 is_matrix()) in PROGRAM_PRELUDE_INCLUDE()
500 is_matrix()) in PROGRAM_PRELUDE_INCLUDE()
531 is_matrix(), in PROGRAM_PRELUDE_INCLUDE()
562 is_matrix(), in PROGRAM_PRELUDE_INCLUDE()
593 is_matrix(), in PROGRAM_PRELUDE_INCLUDE()
634 is_matrix()) in PROGRAM_PRELUDE_INCLUDE()
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_gentype.hpp37 static bool is_matrix();
/external/angle/src/common/
Dgen_uniform_type_table.py242 is_matrix=get_is_matrix(uniform_type),
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_private.cpp37 if (type->is_scalar() || type->is_vector() || type->is_matrix()) in swizzle_for_type()

12