Searched refs:deref_arr (Results 1 – 5 of 5) sorted by relevance
478 nir_deref_array *deref_arr = nir_deref_as_array(deref_tail); in specialize_wildcards() local481 ret_arr->deref.type = deref_arr->deref.type; in specialize_wildcards()482 ret_arr->deref_array_type = deref_arr->deref_array_type; in specialize_wildcards()484 switch (deref_arr->deref_array_type) { in specialize_wildcards()486 ret_arr->base_offset = deref_arr->base_offset; in specialize_wildcards()489 ret_arr->base_offset = deref_arr->base_offset; in specialize_wildcards()490 assert(deref_arr->indirect.is_ssa); in specialize_wildcards()491 ret_arr->indirect = deref_arr->indirect; in specialize_wildcards()
178 nir_deref_array *deref_arr = in ptn_get_src() local180 deref_arr->deref.type = glsl_vec4_type(); in ptn_get_src()181 load->variables[0]->deref.child = &deref_arr->deref; in ptn_get_src()184 deref_arr->deref_array_type = nir_deref_array_type_indirect; in ptn_get_src()196 deref_arr->base_offset = 0; in ptn_get_src()198 deref_arr->base_offset = prog_src->Index; in ptn_get_src()200 deref_arr->indirect = nir_src_for_ssa(reladdr); in ptn_get_src()202 deref_arr->deref_array_type = nir_deref_array_type_direct; in ptn_get_src()203 deref_arr->base_offset = prog_src->Index; in ptn_get_src()
1651 ir_dereference_array *deref_arr = deref->as_dereference_array(); in calc_sampler_offsets() local1653 void *mem_ctx = ralloc_parent(deref_arr); in calc_sampler_offsets()1655 deref_arr->array_index->constant_expression_value(mem_ctx); in calc_sampler_offsets()1673 *array_elements *= deref_arr->array->type->length; in calc_sampler_offsets()1675 calc_sampler_offsets(prog, deref_arr->array->as_dereference(), in calc_sampler_offsets()
425 nir_deref_array *deref_arr = nir_deref_array_create(b); in vtn_pointer_to_deref() local426 deref_arr->deref.type = deref_type->type; in vtn_pointer_to_deref()429 deref_arr->deref_array_type = nir_deref_array_type_direct; in vtn_pointer_to_deref()430 deref_arr->base_offset = chain->link[i].id; in vtn_pointer_to_deref()433 deref_arr->deref_array_type = nir_deref_array_type_indirect; in vtn_pointer_to_deref()434 deref_arr->base_offset = 0; in vtn_pointer_to_deref()435 deref_arr->indirect = in vtn_pointer_to_deref()438 tail->child = &deref_arr->deref; in vtn_pointer_to_deref()508 nir_deref_array *deref_arr = nir_deref_array_create(b); in _vtn_local_load_store() local509 deref_arr->deref_array_type = nir_deref_array_type_direct; in _vtn_local_load_store()[all …]
3623 ir_dereference_array *deref_arr = ir->as_dereference_array(); in get_image_qualifiers() local3624 get_image_qualifiers((ir_dereference *)deref_arr->array, type, in get_image_qualifiers()3961 ir_dereference_array *deref_arr = tail->as_dereference_array(); in calc_deref_offsets() local3963 void *mem_ctx = ralloc_parent(deref_arr); in calc_deref_offsets()3965 deref_arr->array_index->constant_expression_value(mem_ctx); in calc_deref_offsets()3975 deref_arr->array_index->accept(this); in calc_deref_offsets()3991 *array_elements *= deref_arr->array->type->length; in calc_deref_offsets()3993 … calc_deref_offsets(deref_arr->array->as_dereference(), array_elements, index, indirect, location); in calc_deref_offsets()