Lines Matching refs:chain_idx
300 struct vtn_type **type, unsigned *chain_idx) in get_vulkan_resource_index() argument
304 *chain_idx = 0; in get_vulkan_resource_index()
313 *chain_idx = 1; in get_vulkan_resource_index()
317 *chain_idx = 0; in get_vulkan_resource_index()
516 struct vtn_access_chain *chain, unsigned chain_idx, in _vtn_block_load_store() argument
519 if (chain && chain_idx >= chain->length) in _vtn_block_load_store()
571 vtn_access_link_as_ssa(b, chain->link[chain_idx], in _vtn_block_load_store()
575 if (chain_idx + 1 < chain->length) { in _vtn_block_load_store()
578 vtn_access_link_as_ssa(b, chain->link[chain_idx + 1], in _vtn_block_load_store()
620 vtn_access_link_as_ssa(b, chain->link[chain_idx], type->stride); in _vtn_block_load_store()
625 chain, chain_idx + 1, in _vtn_block_load_store()
637 vtn_access_link_as_ssa(b, chain->link[chain_idx], type->stride); in _vtn_block_load_store()
700 unsigned chain_idx; in vtn_block_load() local
701 offset = vtn_access_chain_to_offset(b, src, &index, &type, &chain_idx, true); in vtn_block_load()
706 src, chain_idx, type, &value); in vtn_block_load()
716 unsigned chain_idx; in vtn_block_store() local
717 offset = vtn_access_chain_to_offset(b, dst, &index, &type, &chain_idx, true); in vtn_block_store()
720 0, 0, dst, chain_idx, type, &src); in vtn_block_store()
1588 unsigned chain_idx; in vtn_handle_variables() local
1591 get_vulkan_resource_index(b, chain, &type, &chain_idx); in vtn_handle_variables()