gallium/u_math: add util_logbase2_ceil
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 6 Sep 2016 12:41:51 +0000 (14:41 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 27 Sep 2016 14:44:38 +0000 (16:44 +0200)
commitb3ebc229dcd5d1cc882443f9b851890b00cd9dbc
treed8deab5e2862cf3be8b07b7638e80aced706c09d
parentc060f291c26ac22721a515c78c7a4779f389ff7e
gallium/u_math: add util_logbase2_ceil

For finding the exponent of the next power of two.

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