Nouveau: move the definition of log2i() to header
authorPekka Paalanen <pq@iki.fi>
Sat, 13 Dec 2008 21:24:39 +0000 (23:24 +0200)
committerPekka Paalanen <pq@iki.fi>
Sat, 13 Dec 2008 21:24:39 +0000 (23:24 +0200)
commitf72848a09a9d3069705fbe8e4daa29b9918ea56e
tree2aa40f4523fa5c55a0680e59fc052bd188fc4a34
parent079116e6a487988c7f0411f60c652bb29d69b488
Nouveau: move the definition of log2i() to header

Also make the type unsigned instead of signed, since negative
values do not make sense.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nouveau/nouveau_util.h
src/gallium/drivers/nv04/nv04_fragtex.c
src/gallium/drivers/nv10/nv10_fragtex.c
src/gallium/drivers/nv20/nv20_fragtex.c
src/gallium/drivers/nv30/nv30_fragtex.c
src/gallium/drivers/nv30/nv30_state_fb.c
src/gallium/drivers/nv40/nv40_state_fb.c