util: Add util_next_power_of_two() for rounding a uint up to a POT.
authorYounes Manton <younes.m@gmail.com>
Sun, 27 Sep 2009 18:40:14 +0000 (14:40 -0400)
committerYounes Manton <younes.m@gmail.com>
Sun, 27 Sep 2009 23:25:57 +0000 (19:25 -0400)
commitda793b743462e84e3bca7a0ed7f24b4c942e0834
tree0ec0b8d0107297368b642dc540cd6e31b0082706
parent540039887ac19b5fdd099ccaad6b44b5db973c25
util: Add util_next_power_of_two() for rounding a uint up to a POT.
src/gallium/auxiliary/util/u_math.h