Searched refs:SAFE_MASK_FROM_INDEX (Results 1 – 1 of 1) sorted by relevance
2580 #define SAFE_MASK_FROM_INDEX(i) (((i) >= 32) ? ~0 : ((1 << (i)) - 1)) macro2612 unsigned used_locations = ~SAFE_MASK_FROM_INDEX(max_index); in assign_attribute_or_color_locations()2965 _mesa_bitcount(used_locations & SAFE_MASK_FROM_INDEX(max_index)) + in assign_attribute_or_color_locations()3029 _mesa_bitcount(used_locations & SAFE_MASK_FROM_INDEX(max_index)) + in assign_attribute_or_color_locations()