Home
last modified time | relevance | path

Searched refs:first_bit (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_ubo_ranges.c258 int first_bit = ffsll(offsets) - 1; in brw_nir_analyze_ubo_ranges() local
264 int first_hole = ffsll(~offsets & ~((1ull << first_bit) - 1)) - 1; in brw_nir_analyze_ubo_ranges()
281 entry->range.start = first_bit; in brw_nir_analyze_ubo_ranges()
283 entry->range.length = first_hole - first_bit; in brw_nir_analyze_ubo_ranges()
287 entry->benefit += info->uses[first_bit + i]; in brw_nir_analyze_ubo_ranges()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc.h845 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \ argument
847 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \
851 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
854 #define BC_RSRVD(fmt, last_bit, first_bit) argument
/third_party/mesa3d/src/compiler/nir/
Dnir_builder.h956 unsigned first_bit, in nir_extract_bits() argument
965 if (first_bit > 0) in nir_extract_bits()
966 common_bit_size = MIN2(common_bit_size, (1u << (ffs(first_bit) - 1))); in nir_extract_bits()
981 const unsigned bit = first_bit + (i * common_bit_size); in nir_extract_bits()