swrast: Clean up and explain the mapping process.
authorEric Anholt <eric@anholt.net>
Fri, 19 Apr 2013 20:35:31 +0000 (13:35 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Apr 2013 17:40:43 +0000 (10:40 -0700)
commitf709c31c6717f898ae8689af2eb25232309f0cba
treec3abe0c33e01576dff712bd75d07f7b2fabde6da
parent741e540055d009c4a2d615b3286bce7e69e54b5f
swrast: Clean up and explain the mapping process.

v2: Move slice height calculation to a helper function (recommeded by Brian).

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