Home
last modified time | relevance | path

Searched refs:deref_array (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp127 deref_array(operand array, operand index) in deref_array() function
425 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
460 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
501 deref_array( in TEST_F()
532 deref_array( in TEST_F()
533 deref_array( in TEST_F()
534 deref_array(var_b, body->constant(int(2))), in TEST_F()
567 deref_array( in TEST_F()
568 deref_array( in TEST_F()
569 deref_array(var_b, body->constant(int(2))), in TEST_F()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp298 ir_dereference_array *deref_array = (ir_dereference_array *) deref; in setup_buffer_access() local
300 if (deref_array->array->type->is_vector()) { in setup_buffer_access()
310 if (deref_array->array->type->is_64bit()) in setup_buffer_access()
312 } else if (deref_array->array->type->is_matrix() && *row_major) { in setup_buffer_access()
319 if (deref_array->array->type->is_64bit()) in setup_buffer_access()
321 *matrix_type = deref_array->array->type; in setup_buffer_access()
322 } else if (deref_array->type->without_array()->is_interface()) { in setup_buffer_access()
331 deref = deref_array->array->as_dereference(); in setup_buffer_access()
339 is_dereferenced_thing_row_major(deref_array); in setup_buffer_access()
345 array_stride = deref_array->type->std430_array_stride(array_row_major); in setup_buffer_access()
[all …]
Dlower_named_interface_blocks.cpp87 ir_dereference_array *deref_array = in process_array_ir() local
90 if (deref_array == NULL) { in process_array_ir()
94 deref_array = (ir_dereference_array *) process_array_ir(mem_ctx, in process_array_ir()
95 deref_array, in process_array_ir()
97 return new(mem_ctx) ir_dereference_array(deref_array, in process_array_ir()
301 ir_dereference_array *deref_array = in handle_rvalue() local
303 if (deref_array != NULL) { in handle_rvalue()
304 *rvalue = process_array_ir(mem_ctx, deref_array, in handle_rvalue()
Dast_array_index.cpp78 ir_dereference_array *deref_array = in update_max_array_access() local
81 while (deref_array != NULL) { in update_max_array_access()
82 deref_array_prev = deref_array; in update_max_array_access()
83 deref_array = deref_array->array->as_dereference_array(); in update_max_array_access()
Dopt_array_splitting.cpp347 ir_dereference_array *deref_array = (*deref)->as_dereference_array(); in split_deref() local
348 if (!deref_array) in split_deref()
351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref()
360 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
373 ir_variable *temp = new(entry->mem_ctx) ir_variable(deref_array->type, in split_deref()
Dlower_precision.cpp1068 for (ir_dereference_array *deref_array = ir->as_dereference_array(); in fix_types_in_deref_chain() local
1069 deref_array; in fix_types_in_deref_chain()
1070 deref_array = deref_array->array->as_dereference_array()) { in fix_types_in_deref_chain()
1071 assert(deref_array->array->type->without_array()->is_32bit()); in fix_types_in_deref_chain()
1072 deref_array->array->type = lower_glsl_type(deref_array->array->type); in fix_types_in_deref_chain()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp1560 ir_dereference_array *deref_array = ir->as_dereference_array(); in get_assignment_lhs() local
1561 if (deref_array) { in get_assignment_lhs()
1562 assert(!deref_array->array->type->is_vector()); in get_assignment_lhs()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2912 ir_dereference_array *deref_array = ir->as_dereference_array(); in get_assignment_lhs() local
2913 if (deref_array) { in get_assignment_lhs()
2914 assert(!deref_array->array->type->is_vector()); in get_assignment_lhs()