Home
last modified time | relevance | path

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

/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_scratch.c65 nir_intrinsic_instr *chan_instr = in v3d_nir_lower_load_scratch() local
67 chan_instr->num_components = 1; in v3d_nir_lower_load_scratch()
68 nir_ssa_dest_init(&chan_instr->instr, &chan_instr->dest, 1, in v3d_nir_lower_load_scratch()
71 chan_instr->src[0] = nir_src_for_ssa(chan_offset); in v3d_nir_lower_load_scratch()
73 nir_intrinsic_set_align(chan_instr, 4, 0); in v3d_nir_lower_load_scratch()
75 nir_builder_instr_insert(b, &chan_instr->instr); in v3d_nir_lower_load_scratch()
77 chans[i] = &chan_instr->dest.ssa; in v3d_nir_lower_load_scratch()
101 nir_intrinsic_instr *chan_instr = in v3d_nir_lower_store_scratch() local
103 chan_instr->num_components = 1; in v3d_nir_lower_store_scratch()
105 chan_instr->src[0] = nir_src_for_ssa(nir_channel(b, in v3d_nir_lower_store_scratch()
[all …]