Lines Matching refs:deref_chain
311 struct vtn_access_chain *deref_chain) in vtn_pointer_dereference() argument
314 enum gl_access_qualifier access = base->access | deref_chain->access; in vtn_pointer_dereference()
356 if (deref_chain->ptr_as_array) { in vtn_pointer_dereference()
358 desc_arr_idx = vtn_access_link_as_ssa(b, deref_chain->link[idx], in vtn_pointer_dereference()
363 for (; idx < deref_chain->length; idx++) { in vtn_pointer_dereference()
371 vtn_access_link_as_ssa(b, deref_chain->link[idx], in vtn_pointer_dereference()
391 if (idx == deref_chain->length) { in vtn_pointer_dereference()
438 if (idx == 0 && deref_chain->ptr_as_array) { in vtn_pointer_dereference()
445 nir_ssa_def *index = vtn_access_link_as_ssa(b, deref_chain->link[0], 1, in vtn_pointer_dereference()
451 for (; idx < deref_chain->length; idx++) { in vtn_pointer_dereference()
453 vtn_assert(deref_chain->link[idx].mode == vtn_access_mode_literal); in vtn_pointer_dereference()
454 unsigned field = deref_chain->link[idx].id; in vtn_pointer_dereference()
459 vtn_access_link_as_ssa(b, deref_chain->link[idx], 1, in vtn_pointer_dereference()