util/u_math: Implement a logbase2 function for unsigned long
authorPierre Moreau <pierre.morrow@free.fr>
Sat, 6 May 2017 15:52:59 +0000 (17:52 +0200)
committerKarol Herbst <kherbst@redhat.com>
Tue, 29 May 2018 11:37:45 +0000 (13:37 +0200)
commit03f592a164fa95abbc839dc9820d2ef9fdd21edd
tree02a0c0afa36ef2dfa7bb923216fb81392ebfb072
parent539aa604a0bc565481d1d38b327879a294feeec6
util/u_math: Implement a logbase2 function for unsigned long

v2 (Karol Herbst <kherbst@redhat.com>):
* removed unneeded ll
* ll -> ull

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/auxiliary/util/u_math.h
src/util/bitscan.h