Searched refs:desc_load (Results 1 – 1 of 1) sorted by relevance
290 nir_intrinsic_instr *desc_load = in vtn_descriptor_load() local293 desc_load->src[0] = nir_src_for_ssa(desc_index); in vtn_descriptor_load()294 nir_intrinsic_set_desc_type(desc_load, vk_desc_type_for_mode(b, mode)); in vtn_descriptor_load()297 nir_ssa_dest_init(&desc_load->instr, &desc_load->dest, in vtn_descriptor_load()300 desc_load->num_components = desc_load->dest.ssa.num_components; in vtn_descriptor_load()301 nir_builder_instr_insert(&b->nb, &desc_load->instr); in vtn_descriptor_load()303 return &desc_load->dest.ssa; in vtn_descriptor_load()