llvmpipe: fix rendering to 3D textures
authorBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 22:42:47 +0000 (16:42 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 23:07:25 +0000 (17:07 -0600)
commit202ff7db490f4a1d041a88f11665fbd3ccea2201
tree8da39cb98259a5f4c7da91ee534cca89b4b1d1a5
parentee7cf9d80ff962e714bc66487f621e03f21e1293
llvmpipe: fix rendering to 3D textures

Treat cube faces and 3D texture slices in the same manner (they're layed
out out continuously in memory).  Additional clean-ups and improvements
coming.
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h