Lines Matching refs:scan
1137 nir_intrinsic_instr *scan =
1139 scan->num_components = val->num_components;
1140 scan->src[0] = nir_src_for_ssa(val);
1141 nir_intrinsic_set_reduction_op(scan, reduction_op);
1143 nir_intrinsic_set_cluster_size(scan, cluster_size);
1144 nir_ssa_dest_init(&scan->instr, &scan->dest,
1146 nir_builder_instr_insert(b, &scan->instr);
1147 return &scan->dest.ssa;
1160 * no larger than 256 which seems reasonable.) We can then scan on each of
1269 unreachable("Unsupported subgroup scan/reduce op");