Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_io_to_scalar.c43 nir_intrinsic_instr *chan_intr = in lower_load_input_to_scalar() local
45 nir_ssa_dest_init(&chan_intr->instr, &chan_intr->dest, in lower_load_input_to_scalar()
47 chan_intr->num_components = 1; in lower_load_input_to_scalar()
49 nir_intrinsic_set_base(chan_intr, nir_intrinsic_base(intr)); in lower_load_input_to_scalar()
50 nir_intrinsic_set_component(chan_intr, nir_intrinsic_component(intr) + i); in lower_load_input_to_scalar()
52 chan_intr->src[0] = intr->src[0]; in lower_load_input_to_scalar()
54 nir_builder_instr_insert(b, &chan_intr->instr); in lower_load_input_to_scalar()
56 loads[i] = &chan_intr->dest.ssa; in lower_load_input_to_scalar()
76 nir_intrinsic_instr *chan_intr = in lower_store_output_to_scalar() local
78 chan_intr->num_components = 1; in lower_store_output_to_scalar()
[all …]