gallium/util: add u_bit_consecutive for generating a consecutive range of bits
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Apr 2016 17:48:19 +0000 (12:48 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 16:16:39 +0000 (11:16 -0500)
commit91fb4bb2e999accfca3394a5720516d03868c521
tree939ce6b9dea2091e5e01edfc980cbba7e7454f0c
parent504df3a1d791d071259d23b4a99b9b46b1f601af
gallium/util: add u_bit_consecutive for generating a consecutive range of bits

There are some undefined behavior subtleties, so having a function to match
the u_bit_scan_consecutive_range makes sense.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_math.h