Home
last modified time | relevance | path

Searched refs:arr_offset (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c61 nir_ssa_def *arr_offset = nir_amul_imm(b, arr_index, array_elements); in get_block_array_index() local
63 nonconst_index = nir_iadd(b, nonconst_index, arr_offset); in get_block_array_index()
65 nonconst_index = arr_offset; in get_block_array_index()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c370 nir_ssa_def *arr_offset = in vtn_pointer_dereference() local
374 desc_arr_idx = nir_iadd(&b->nb, desc_arr_idx, arr_offset); in vtn_pointer_dereference()
376 desc_arr_idx = arr_offset; in vtn_pointer_dereference()