/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_types.cpp | 56 if (type->vector_elements <= 2 || is_vs_input) 64 if (type->vector_elements <= 2 || is_vs_input)
|
/external/mesa3d/src/compiler/glsl/ |
lower_vector.cpp | 70 for (unsigned i = 0; i < ir->type->vector_elements; i++) { 136 assert(expr->type->vector_elements == expr->get_num_operands()); 165 for (unsigned i = 0; i < expr->type->vector_elements; i++) { 201 for (unsigned i = 0; i < expr->type->vector_elements; i++) { 213 assert(assigned == expr->type->vector_elements);
|
ir.cpp | 96 rhs_swiz.num_components = swiz->val->type->vector_elements; 137 const unsigned mask = (1U << v->type->vector_elements) - 1; 165 assert(lhs_components == this->rhs->type->vector_elements); 184 this->write_mask = (1U << rhs->type->vector_elements) - 1; 265 op0->type->vector_elements, 1); 275 op0->type->vector_elements, 1); 282 op0->type->vector_elements, 1); 289 op0->type->vector_elements, 1); 297 op0->type->vector_elements, 1); 336 op0->type->vector_elements, 1) [all...] |
lower_instructions.cpp | 231 ir->operands[1]->type->vector_elements, 242 ir->operands[0]->type->vector_elements, 251 ir->type->vector_elements, 386 const unsigned vec_elem = ir->type->vector_elements; 487 const unsigned vec_elem = ir->type->vector_elements; 612 const unsigned vec_elem = ir->type->vector_elements; 684 const unsigned vec_elem = ir->type->vector_elements; 822 ir_constant *one = new(ir) ir_constant(1.0, op2->type->vector_elements); 824 switch (op2->type->vector_elements) { 829 assert(op0->type->vector_elements == op2->type->vector_elements) [all...] |
lower_vec_index_to_swizzle.cpp | 88 (int) expr->operands[0]->type->vector_elements - 1);
|
opt_noop_swizzle.cpp | 62 int elems = swiz->val->type->vector_elements;
|
lower_buffer_access.cpp | 82 writemask_for_size(field_deref->type->vector_elements)); 102 writemask_for_size(element_deref->type->vector_elements)); 121 writemask_for_size(col_deref->type->vector_elements)); 127 deref->type->vector_elements == 2 && 141 deref->type->vector_elements > 2) ? 32 : 16; 147 writemask_for_size(col_deref->type->vector_elements)); 159 is_write ? write_mask : (1 << deref->type->vector_elements) - 1; 205 for (unsigned i = 0; i < deref->type->vector_elements; i++) {
|
link_varyings.h | 153 return this->vector_elements * this->matrix_columns * this->size * 249 unsigned vector_elements; member in class:tfeedback_decl
|
ast_array_index.cpp | 185 if (array->type->row_type()->vector_elements <= idx) { 187 bound = array->type->row_type()->vector_elements; 190 if (array->type->vector_elements <= idx) { 192 bound = array->type->vector_elements;
|
hir_field_selection.cpp | 63 op->type->vector_elements);
|
lower_vector_derefs.cpp | 72 ir->write_mask = (1 << new_lhs->type->vector_elements) - 1;
|
glsl_to_nir.cpp | 219 const unsigned rows = ir->type->vector_elements; 951 instr->num_components = val->type->vector_elements; 967 instr->num_components = type->vector_elements; 972 type->vector_elements, bit_size, NULL); [all...] |
lower_packed_varyings.cpp | 339 assert(rhs->type->vector_elements <= 2); 340 if (rhs->type->vector_elements == 2) { 343 assert(lhs->type->vector_elements == 4); 389 assert(lhs->type->vector_elements <= 2); 390 if (lhs->type->vector_elements == 2) { 392 assert(rhs->type->vector_elements == 4); 475 } else if (rvalue->type->vector_elements * dmul + 493 right_components = rvalue->type->vector_elements - left_components; 526 unsigned components = rvalue->type->vector_elements * dmul; 700 if (type->vector_elements == 4 && !type->is_64bit() [all...] |
ir_validate.cpp | 399 assert(ir->operands[0]->type->vector_elements == ir->type->vector_elements); 525 assert(ir->operands[0]->type->vector_elements 526 == ir->type->vector_elements); 561 assert(ir->operands[0]->type->vector_elements == 562 ir->operands[1]->type->vector_elements); 636 assert(ir->type->vector_elements == ir->operands[0]->type->vector_elements); 674 switch (ir->type->vector_elements) { 719 for (unsigned int i = 0; i < ir->type->vector_elements; i++) [all...] |
lower_vec_index_to_cond_assign.cpp | 119 orig_vector->type->vector_elements, 123 for (i = 0; i < orig_vector->type->vector_elements; i++) {
|
ast_function.cpp | 871 from->type->vector_elements, 924 const int c = component / src->type->column_type()->vector_elements [all...] |
lower_vector_insert.cpp | 114 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
|
opt_algebraic.cpp | 153 for (int c = 0; c < ir->type->vector_elements; c++) { 158 return (component == ir->type->vector_elements); 170 for (int c = 0; c < ir->type->vector_elements; c++) { 175 return (component == ir->type->vector_elements); 306 expr->type->vector_elements); 645 for (unsigned c = 0; c < op_const[i]->type->vector_elements; c++) { 654 if (count >= op_const[i]->type->vector_elements) 938 unsigned op2_components = ir->operands[2]->type->vector_elements;
|
opt_rebalance_tree.cpp | 292 MAX2(expr->operands[0]->type->vector_elements, 293 expr->operands[1]->type->vector_elements),
|
ir_builder.cpp | 64 return assign(lhs, rhs, (1 << lhs.val->type->vector_elements) - 1); 76 return assign(lhs, rhs, condition, (1 << lhs.val->type->vector_elements) - 1); 104 if (a.val->type->vector_elements < components) 105 components = a.val->type->vector_elements; 269 if (a.val->type->vector_elements == 1)
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_channel_expressions.cpp | 153 unsigned int i, vector_elements = 1; local 165 vector_elements = expr->operands[i]->type->vector_elements; 267 for (i = 0; i < vector_elements; i++) { 303 for (i = 0; i < vector_elements; i++) { 316 for (i = 0; i < vector_elements; i++) { 341 for (i = 0; i < vector_elements; i++) { 379 for (i = 0; i < vector_elements; i++) { 393 for (i = 0; i < vector_elements; i++) {
|
/external/mesa3d/src/compiler/ |
glsl_types.cpp | 49 glsl_base_type base_type, unsigned vector_elements, 55 vector_elements(vector_elements), matrix_columns(matrix_columns), 75 assert((vector_elements == 0) == (matrix_columns == 0)); 100 matrix_columns = vector_elements = 0; 102 matrix_columns = vector_elements = 1; 112 vector_elements(0), matrix_columns(0), 142 vector_elements(0), matrix_columns(0), 169 vector_elements(0), matrix_columns(0), 201 vector_elements(1), matrix_columns(1) [all...] |
glsl_types.h | 178 uint8_t vector_elements; /**< 1, 2, 3, or 4 vector elements. */ member in struct:glsl_type 313 return vector_elements * matrix_columns; 435 return (vector_elements == 1) 445 return (vector_elements > 1) 509 return is_64bit() && vector_elements > 2; 707 ? get_instance(base_type, vector_elements, 1) 799 glsl_base_type base_type, unsigned vector_elements,
|
nir_types.cpp | 84 return type->vector_elements; 362 type->vector_elements);
|
/external/mesa3d/src/mesa/program/ |
ir_to_mesa.cpp | 75 this->swizzle = swizzle_for_size(type->vector_elements); 524 if (type->vector_elements > 2) 529 if (type->vector_elements > 2) 582 src.swizzle = swizzle_for_size(type->vector_elements); 824 for (unsigned i = 0; i < ir->type->vector_elements; i++) { 923 result_dst.writemask = (1 << ir->type->vector_elements) - 1; 1017 int vector_elements = ir->operands[0]->type->vector_elements; local 1019 vector_elements = MAX2(vector_elements, [all...] |