svga: Don't use the new depth formats for surfaces that will never be sampled from.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 14 Apr 2011 12:28:10 +0000 (13:28 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Sep 2011 13:58:46 +0000 (07:58 -0600)
commitffeed5da6e568836867f09f1acb7ce660d091d4a
tree2b77b81f53317f4e91bcf15dc5125cdd98daed7d
parent8bf3fb4eca5594f8348de2f8fb67bc94127f8d5a
svga: Don't use the new depth formats for surfaces that will never be sampled from.

Mitigates issues with hosts where support for these new depth formats is
flaky.
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_resource_texture.h
src/gallium/drivers/svga/svga_sampler_view.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_surface.c