swrast: Factor out texture slice counting.
authorEric Anholt <eric@anholt.net>
Fri, 19 Apr 2013 20:30:34 +0000 (13:30 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Apr 2013 17:40:42 +0000 (10:40 -0700)
commit741e540055d009c4a2d615b3286bce7e69e54b5f
tree3557726a52b1bf43eedc6bc4202c10e550e45f4d
parentdca4178130f2704d54cc16fba13f9585e6ae0e54
swrast: Factor out texture slice counting.

This function going to get used a lot more in upcoming patches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_texture.c