Searched refs:chan_intrin (Results 1 – 1 of 1) sorted by relevance
118 nir_intrinsic_instr *chan_intrin = in lower_subgroup_op_to_scalar() local120 nir_ssa_dest_init(&chan_intrin->instr, &chan_intrin->dest, in lower_subgroup_op_to_scalar()122 chan_intrin->num_components = 1; in lower_subgroup_op_to_scalar()125 chan_intrin->src[0] = nir_src_for_ssa(nir_channel(b, value, i)); in lower_subgroup_op_to_scalar()129 nir_src_copy(&chan_intrin->src[1], &intrin->src[1]); in lower_subgroup_op_to_scalar()132 chan_intrin->const_index[0] = intrin->const_index[0]; in lower_subgroup_op_to_scalar()133 chan_intrin->const_index[1] = intrin->const_index[1]; in lower_subgroup_op_to_scalar()135 if (lower_to_32bit && chan_intrin->src[0].ssa->bit_size == 64) { in lower_subgroup_op_to_scalar()136 reads[i] = lower_subgroup_op_to_32bit(b, chan_intrin); in lower_subgroup_op_to_scalar()138 nir_builder_instr_insert(b, &chan_intrin->instr); in lower_subgroup_op_to_scalar()[all …]