softpipe: fix depth texture sampling regression
authorBrian Paul <brianp@vmware.com>
Fri, 17 Dec 2010 00:38:16 +0000 (17:38 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Dec 2010 00:40:09 +0000 (17:40 -0700)
commit9d9f8aba0aa51f707ac1d451fb8a89bb95676ab1
tree281d1342c0f92799e90fdd2ca6d77336df138630
parent3ecf47af1252ad10f98d5ce488cc1b91fab64c25
softpipe: fix depth texture sampling regression

We need to keep using the pipe_get_tile_swizzle() even though there's
no swizzling because we need to explicitly pass in the surface format.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32459
src/gallium/drivers/softpipe/sp_tex_tile_cache.c