Lines Matching defs:shuffle
288 nir_intrinsic_instr *shuffle =
290 shuffle->num_components = intrin->num_components;
291 nir_src_copy(&shuffle->src[0], &intrin->src[0]);
292 shuffle->src[1] = nir_src_for_ssa(index);
293 nir_ssa_dest_init(&shuffle->instr, &shuffle->dest,
298 if (options->lower_to_scalar && shuffle->num_components > 1) {
299 return lower_subgroup_op_to_scalar(b, shuffle, lower_to_32bit);
300 } else if (lower_to_32bit && shuffle->src[0].ssa->bit_size == 64) {
301 return lower_subgroup_op_to_32bit(b, shuffle);
303 nir_builder_instr_insert(b, &shuffle->instr);
304 return &shuffle->dest.ssa;