Home
last modified time | relevance | path

Searched refs:deref_arr (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_indirect_derefs.c31 nir_deref_instr **deref_arr,
37 nir_deref_instr **deref_arr, in emit_indirect_load_store_deref() argument
45 deref_arr + 1, dest, src); in emit_indirect_load_store_deref()
51 nir_deref_instr *deref = *deref_arr; in emit_indirect_load_store_deref()
55 emit_indirect_load_store_deref(b, orig_instr, parent, deref_arr, in emit_indirect_load_store_deref()
58 emit_indirect_load_store_deref(b, orig_instr, parent, deref_arr, in emit_indirect_load_store_deref()
70 nir_deref_instr **deref_arr, in emit_load_store_deref() argument
73 for (; *deref_arr; deref_arr++) { in emit_load_store_deref()
74 nir_deref_instr *deref = *deref_arr; in emit_load_store_deref()
79 emit_indirect_load_store_deref(b, orig_instr, parent, deref_arr, in emit_load_store_deref()
[all …]
Dnir_lower_var_copies.c40 nir_deref_instr ***deref_arr) in build_deref_to_next_wildcard() argument
42 for (; **deref_arr; (*deref_arr)++) { in build_deref_to_next_wildcard()
43 if ((**deref_arr)->deref_type == nir_deref_type_array_wildcard) in build_deref_to_next_wildcard()
46 parent = nir_build_deref_follower(b, parent, **deref_arr); in build_deref_to_next_wildcard()
49 assert(**deref_arr == NULL); in build_deref_to_next_wildcard()
50 *deref_arr = NULL; in build_deref_to_next_wildcard()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp1585 ir_dereference_array *deref_arr = deref->as_dereference_array(); in calc_sampler_offsets() local
1587 void *mem_ctx = ralloc_parent(deref_arr); in calc_sampler_offsets()
1589 deref_arr->array_index->constant_expression_value(mem_ctx); in calc_sampler_offsets()
1607 *array_elements *= deref_arr->array->type->length; in calc_sampler_offsets()
1609 calc_sampler_offsets(prog, deref_arr->array->as_dereference(), in calc_sampler_offsets()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp3798 ir_dereference_array *deref_arr = ir->as_dereference_array(); in get_image_qualifiers() local
3799 get_image_qualifiers((ir_dereference *)deref_arr->array, type, in get_image_qualifiers()
4161 ir_dereference_array *deref_arr = tail->as_dereference_array(); in calc_deref_offsets() local
4163 void *mem_ctx = ralloc_parent(deref_arr); in calc_deref_offsets()
4165 deref_arr->array_index->constant_expression_value(mem_ctx); in calc_deref_offsets()
4175 deref_arr->array_index->accept(this); in calc_deref_offsets()
4191 *array_elements *= deref_arr->array->type->length; in calc_deref_offsets()
4193 … calc_deref_offsets(deref_arr->array->as_dereference(), array_elements, index, indirect, location); in calc_deref_offsets()