Lines Matching defs:mask
204 unsigned mask = nir_src_as_uint(intrin->src[1]);
206 if (mask >= 32)
213 nir_intrinsic_set_swizzle_mask(swizzle, (mask << 10) | 0x1f);
391 /* Return a ballot-mask-sized value which represents "val" sign-extended and
416 * we'll feed 33 into ishl, which will mask it off to get 1, so we'll
467 /* Return a mask which is 1 for threads up to the run-time subgroup size, i.e.
470 * so we have to "and" with this mask.
717 * the subgroup size is less than 32, we have to mask off the unused
719 * 32, the mask will be 0xffffffff and nir_opt_algebraic will delete
760 nir_ssa_def *mask;
762 mask = nir_inot(b, build_subgroup_gt_mask(b, options));
764 mask = nir_inot(b, build_subgroup_ge_mask(b, options));
771 return vec_bit_count(b, nir_iand(b, int_val, mask));