Searched refs:orig_deref (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlower_vec_index_to_cond_assign.cpp70 ir_dereference_array *orig_deref = ir->as_dereference_array(); local
76 if (!orig_deref)
79 if (orig_deref->array->type->is_matrix() ||
80 orig_deref->array->type->is_array())
85 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
108 orig_deref->array->type->vector_elements,
112 for (i = 0; i < orig_deref->array->type->vector_elements; i++) {
120 new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL),
174 ir_dereference_array *orig_deref local
[all...]
H A Dlower_variable_index_to_cond_assign.cpp389 ir_variable *convert_dereference_array(ir_dereference_array *orig_deref, argument
393 assert(is_array_or_matrix(orig_deref->array));
395 const unsigned length = (orig_deref->array->type->is_array())
396 ? orig_deref->array->type->length
397 : orig_deref->array->type->matrix_columns;
420 var = new(mem_ctx) ir_variable(orig_deref->type,
428 new(mem_ctx) ir_variable(orig_deref->array_index->type,
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL);
437 orig_deref->array_index = lhs->clone(mem_ctx, NULL);
483 ir_dereference_array* orig_deref
[all...]
H A Dopt_function_inlining.cpp81 ir_dereference *orig_deref = (ir_dereference *) data; local
86 ir_rvalue *lhs = orig_deref->clone(ctx, NULL);
/external/mesa3d/src/glsl/
H A Dlower_vec_index_to_cond_assign.cpp70 ir_dereference_array *orig_deref = ir->as_dereference_array(); local
76 if (!orig_deref)
79 if (orig_deref->array->type->is_matrix() ||
80 orig_deref->array->type->is_array())
85 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
108 orig_deref->array->type->vector_elements,
112 for (i = 0; i < orig_deref->array->type->vector_elements; i++) {
120 new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL),
174 ir_dereference_array *orig_deref local
[all...]
H A Dlower_variable_index_to_cond_assign.cpp389 ir_variable *convert_dereference_array(ir_dereference_array *orig_deref, argument
393 assert(is_array_or_matrix(orig_deref->array));
395 const unsigned length = (orig_deref->array->type->is_array())
396 ? orig_deref->array->type->length
397 : orig_deref->array->type->matrix_columns;
420 var = new(mem_ctx) ir_variable(orig_deref->type,
428 new(mem_ctx) ir_variable(orig_deref->array_index->type,
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL);
437 orig_deref->array_index = lhs->clone(mem_ctx, NULL);
483 ir_dereference_array* orig_deref
[all...]
H A Dopt_function_inlining.cpp81 ir_dereference *orig_deref = (ir_dereference *) data; local
86 ir_rvalue *lhs = orig_deref->clone(ctx, NULL);

Completed in 86 milliseconds