llvmpipe: pass face+slice to llvmpipe_unswizzle_cbuf_tile()
authorBrian Paul <brianp@vmware.com>
Tue, 27 Jul 2010 23:40:00 +0000 (17:40 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Jul 2010 23:42:27 +0000 (17:42 -0600)
commit25472942c9640f6c0d252de2f013d04ac2355b1d
tree58535a34770a5dfcb51d2ed2f6b8f8d81f60c8fc
parent6a20539580e1b7ae921d497fbf66a8fd545efea4
llvmpipe: pass face+slice to llvmpipe_unswizzle_cbuf_tile()

Cube map faces and 3D texture slices are treated the same in llvmpipe
textures.  Need to pass the sum of these fields to
llvmpipe_unswizzle_cbuf_tile() as we do elsewhere.

Fixes piglit fbo-3d test (fd.o bug 29135).
src/gallium/drivers/llvmpipe/lp_rast.c