Lines Matching defs:mask
126 /** Return true if the component mask "mask" with bit size "old_bit_size" can
130 nir_component_mask_can_reinterpret(nir_component_mask_t mask,
145 return util_last_bit(mask) * ratio <= NIR_MAX_VEC_COMPONENTS;
148 unsigned iter = mask;
162 /** Re-interprets a component mask "mask" with bit size "old_bit_size" so that
166 nir_component_mask_reinterpret(nir_component_mask_t mask,
170 assert(nir_component_mask_can_reinterpret(mask, old_bit_size, new_bit_size));
173 return mask;
176 unsigned iter = mask;
2697 /* Returns an attribute mask that has been re-compacted using the given
2698 * dual_slot mask.
2705 /* mask of all bits up to and including loc */
2706 uint64_t mask = BITFIELD64_MASK(loc + 1);
2707 attribs = (attribs & mask) | ((attribs & ~mask) >> 1);
2916 * because the access mask might be different and we can't get it reliably.
3416 unsigned mask = 0;
3429 mask |= BITFIELD_RANGE(i, xfb.out[i % 2].num_components) & wr_mask;
3433 return mask;