HomeSort by relevance Sort by last modified time
    Searched full:vector_elements (Results 1 - 25 of 32) sorted by null

1 2

  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_channel_expressions.cpp 137 unsigned int i, vector_elements = 1; local
149 vector_elements = expr->operands[i]->type->vector_elements;
219 for (i = 0; i < vector_elements; i++) {
248 for (i = 0; i < vector_elements; i++) {
266 for (i = 2; i < vector_elements; i++) {
278 for (i = 0; i < vector_elements; i++) {
310 for (i = 0; i < vector_elements; i++) {
brw_fs_visitor.cpp 92 int vector_elements = local
93 ir->type->is_array() ? ir->type->fields.array->vector_elements
94 : ir->type->vector_elements;
100 this->outputs[output].reg_offset += vector_elements * i;
101 this->output_components[output] = vector_elements;
598 for (int i = 0; i < ir->type->vector_elements; i++) {
684 ir->write_mask == (1 << ir->lhs->type->vector_elements) - 1)))
697 if (ir->lhs->type->vector_elements != modify->regs_written())
735 for (int i = 0; i < ir->lhs->type->vector_elements; i++) {
762 for (int i = 0; i < ir->coordinate->type->vector_elements; i++)
926 const int vector_elements = local
    [all...]
brw_vec4_visitor.cpp 433 this->swizzle = swizzle_for_size(type->vector_elements);
449 this->writemask = (1 << type->vector_elements) - 1;
481 for (unsigned int i = 0; i < type->vector_elements; i++) {
486 for (unsigned int i = type->vector_elements; i < 4; i++) {
495 this->uniform_vector_size[this->uniforms] = type->vector_elements;
1028 int vector_elements = ir->operands[0]->type->vector_elements; local
1030 vector_elements = MAX2(vector_elements,
1031 ir->operands[1]->type->vector_elements);
    [all...]
brw_lower_texture_gradients.cpp 112 swizzle_for_size(txs, grad_type->vector_elements)));
brw_shader.cpp 309 for (unsigned i = 0; i < offset->type->vector_elements; i++)
319 for (unsigned i = 0; i < offset->type->vector_elements; i++) {
brw_fs_vector_splitting.cpp 269 for (unsigned int i = 0; i < ir->lhs->type->vector_elements; i++) {
373 for (unsigned int i = 0; i < entry->var->type->vector_elements; i++) {
  /external/mesa3d/src/glsl/
lower_vector.cpp 66 for (unsigned i = 0; i < ir->type->vector_elements; i++) {
132 assert(expr->type->vector_elements == expr->get_num_operands());
161 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
197 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
209 assert(assigned == expr->type->vector_elements);
ir_builder.cpp 63 return assign(lhs, rhs, (1 << lhs.val->type->vector_elements) - 1);
84 if (a.val->type->vector_elements < components)
85 components = a.val->type->vector_elements;
glsl_types.cpp 49 glsl_base_type base_type, unsigned vector_elements,
55 vector_elements(vector_elements), matrix_columns(matrix_columns),
62 assert((vector_elements == 0) == (matrix_columns == 0));
73 vector_elements(0), matrix_columns(0),
86 vector_elements(0), matrix_columns(0),
369 vector_elements(0), matrix_columns(0),
629 && this->vector_elements == desired->vector_elements;
646 switch (this->vector_elements) {
    [all...]
lower_vec_index_to_cond_assign.cpp 108 orig_deref->array->type->vector_elements,
112 for (i = 0; i < orig_deref->array->type->vector_elements; i++) {
208 orig_deref->array->type->vector_elements,
212 for (i = 0; i < orig_deref->array->type->vector_elements; i++) {
ir.cpp 142 const unsigned mask = (1U << v->type->vector_elements) - 1;
170 assert(lhs_components == this->rhs->type->vector_elements);
189 this->write_mask = (1U << rhs->type->vector_elements) - 1;
283 op0->type->vector_elements, 1);
292 op0->type->vector_elements, 1);
298 op0->type->vector_elements, 1);
305 op0->type->vector_elements, 1);
382 op0->type->vector_elements, 1);
646 this->value.f[i * type->vector_elements + i] = value->value.f[0];
680 unsigned rows = MIN2(type->vector_elements, value->type->vector_elements)
    [all...]
ast_function.cpp 539 const int c = component / src->type->column_type()->vector_elements;
540 const int r = component % src->type->column_type()->vector_elements;
618 ir->type->vector_elements,
879 if (count < src->type->vector_elements) {
971 type->vector_elements);
978 type->vector_elements);
990 type->vector_elements);
    [all...]
glsl_types.h 119 unsigned vector_elements:3; /**< 1, 2, 3, or 4 vector elements. */ member in struct:glsl_type
239 return vector_elements * matrix_columns;
304 return (vector_elements == 1)
314 return (vector_elements > 1)
436 ? get_instance(base_type, vector_elements, 1)
482 glsl_base_type base_type, unsigned vector_elements,
ir_validate.cpp 370 assert(ir->operands[0]->type->vector_elements
371 == ir->type->vector_elements);
406 assert(ir->operands[0]->type->vector_elements ==
407 ir->operands[1]->type->vector_elements);
442 switch (ir->type->vector_elements) {
487 for (unsigned int i = 0; i < ir->type->vector_elements; i++) {
488 if (chans[i] >= ir->val->type->vector_elements) {
554 if (lhs_components != ir->rhs->type->vector_elements) {
557 lhs_components, ir->rhs->type->vector_elements);
opt_noop_swizzle.cpp 63 int elems = swiz->val->type->vector_elements;
lower_instructions.cpp 164 ir->operands[1]->type->vector_elements,
175 ir->operands[0]->type->vector_elements,
184 ir->type->vector_elements,
opt_algebraic.cpp 181 expr->type->vector_elements);
326 for (unsigned c = 0; c < op_const[0]->type->vector_elements; c++) {
335 for (unsigned c = 0; c < op_const[1]->type->vector_elements; c++) {
hir_field_selection.cpp 53 op->type->vector_elements);
lower_vec_index_to_swizzle.cpp 96 (deref->array->type->vector_elements - 1));
ir_constant_expression.cpp 596 ? 1 : op[0]->type->vector_elements;
597 const unsigned m = op[1]->type->vector_elements;
916 for (unsigned c = 0; c < this->type->vector_elements; c++) {
1060 offset = index * vt->vector_elements;
1091 const unsigned mat_idx = column * column_type->vector_elements;
1098 for (unsigned i = 0; i < column_type->vector_elements; i++)
1104 for (unsigned i = 0; i < column_type->vector_elements; i++)
    [all...]
opt_copy_propagation_elements.cpp 226 chans = swizzle->type->vector_elements;
236 chans = deref_var->type->vector_elements;
lower_ubo_reference.cpp 280 for (unsigned i = 0; i < deref->type->vector_elements; i++) {
  /external/mesa3d/src/mesa/program/
ir_to_mesa.cpp 77 this->swizzle = swizzle_for_size(type->vector_elements);
651 src.swizzle = swizzle_for_size(type->vector_elements);
985 for (unsigned i = 0; i < ir->type->vector_elements; i++) {
1084 result_dst.writemask = (1 << ir->type->vector_elements) - 1;
1141 int vector_elements = ir->operands[0]->type->vector_elements; local
1143 vector_elements = MAX2(vector_elements,
1144 ir->operands[1]->type->vector_elements);
1159 result_dst.writemask = (1 << ir->type->vector_elements) - 1
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_glsl_to_tgsi.cpp 107 this->swizzle = swizzle_for_size(type->vector_elements);
996 src.swizzle = swizzle_for_size(type->vector_elements);
1381 int vector_elements = ir->operands[0]->type->vector_elements; local
    [all...]
  /external/mesa3d/src/mesa/main/
uniform_query.cpp 477 /* vector_elements and matrix_columns can be 0 for samplers.
479 const unsigned components = MAX2(1, uni->type->vector_elements);
666 components = uni->type->vector_elements;
854 components = uni->type->vector_elements;

Completed in 580 milliseconds

1 2