Lines Matching refs:block_index
321 nir_ssa_def *block_index = base->block_index; in vtn_pointer_dereference() local
348 if (!block_index || vtn_type_contains_block(b, type) || in vtn_pointer_dereference()
381 if (!block_index) { in vtn_pointer_dereference()
383 block_index = vtn_variable_resource_index(b, base->var, desc_arr_idx); in vtn_pointer_dereference()
385 block_index = vtn_resource_reindex(b, base->mode, in vtn_pointer_dereference()
386 block_index, desc_arr_idx); in vtn_pointer_dereference()
397 ptr->block_index = block_index; in vtn_pointer_dereference()
406 nir_ssa_def *desc = vtn_descriptor_load(b, base->mode, block_index); in vtn_pointer_dereference()
583 if (!ptr->block_index) { in vtn_pointer_to_descriptor()
590 vtn_assert(ptr->deref == NULL && ptr->block_index != NULL); in vtn_pointer_to_descriptor()
591 return vtn_descriptor_load(b, ptr->mode, ptr->block_index); in vtn_pointer_to_descriptor()
1667 if (!ptr->block_index) { in vtn_pointer_to_ssa()
1679 return ptr->block_index; in vtn_pointer_to_ssa()
1714 ptr->block_index = ssa; in vtn_pointer_from_ssa()
2590 if (!ptr->block_index) { in vtn_handle_variables()
2595 vtn_assert(ptr->block_index); in vtn_handle_variables()
2598 nir_ssa_def *buf_size = nir_get_ssbo_size(&b->nb, ptr->block_index, in vtn_handle_variables()