replace LOG2 with util_fast_log2
authorDylan Baker <dylan@pnwbakers.com>
Thu, 6 Sep 2018 22:26:19 +0000 (15:26 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 21 Apr 2020 18:09:03 +0000 (11:09 -0700)
commitbd4e769515345a6b20562310334bc828c0bb6605
tree47bb02a22015694705ed6e954b098f6946ccf2c2
parentf8e4542bad7dd9bb97b2990947ef74dbb2ee75e4
replace LOG2 with util_fast_log2

The implementation is somewhat different, although if you go back in
time far enough they're the same, but the one in u_math was changed a
long time back to be faster.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
src/mesa/swrast/s_span.c
src/mesa/swrast/s_texfilter.c
src/util/imports.h