Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c85 struct vtn_access_chain *deref_chain) in vtn_access_chain_pointer_dereference() argument
88 vtn_access_chain_extend(b, base->chain, deref_chain->length); in vtn_access_chain_pointer_dereference()
95 vtn_assert(!deref_chain->ptr_as_array); in vtn_access_chain_pointer_dereference()
98 for (unsigned i = 0; i < deref_chain->length; i++) { in vtn_access_chain_pointer_dereference()
99 chain->link[start + i] = deref_chain->link[i]; in vtn_access_chain_pointer_dereference()
102 vtn_assert(deref_chain->link[i].mode == vtn_access_mode_literal); in vtn_access_chain_pointer_dereference()
103 type = type->members[deref_chain->link[i].id]; in vtn_access_chain_pointer_dereference()
179 struct vtn_access_chain *deref_chain) in vtn_ssa_offset_pointer_dereference() argument
192 if (deref_chain->length >= 1) { in vtn_ssa_offset_pointer_dereference()
194 vtn_access_link_as_ssa(b, deref_chain->link[0], 1); in vtn_ssa_offset_pointer_dereference()
[all …]