svga: improve check for 3D compressed textures
authorBrian Paul <brianp@vmware.com>
Tue, 19 Nov 2013 15:54:17 +0000 (07:54 -0800)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Nov 2013 16:03:41 +0000 (09:03 -0700)
commit92c3d5acf766eee4a27250c2f9883204991b1647
treeb190b7d245df823560b0dd17efe4b589791c1933
parent5ab59e5332215f149b532436c4d55834399d71e6
svga: improve check for 3D compressed textures

This is basically a a respin of f1dfcf4bce35e6796f873d9a00103b280da81e4c
per Jose's suggestion.

Just set the SVGA3dSurfaceFormatCaps flags for 3D and cube textures
when checking the texture format capabilities.  This will filter out
unsupported combinations like 3D+DXT.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_screen.c