summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-11-18 14:50:33 -0800
committerBrian Paul <brianp@vmware.com>2013-11-18 16:34:02 -0700
commit21ae5135dd30bbd2ec7d2b44e07b6cb1d6425d9e (patch)
tree2bd490a75ca813f5c3405933965472c383b4e407 /src/gallium/drivers/svga
parent7eab897d4d05392bbf336b2062a6ebe378d6ff7a (diff)
downloadexternal_mesa3d-21ae5135dd30bbd2ec7d2b44e07b6cb1d6425d9e.zip
external_mesa3d-21ae5135dd30bbd2ec7d2b44e07b6cb1d6425d9e.tar.gz
external_mesa3d-21ae5135dd30bbd2ec7d2b44e07b6cb1d6425d9e.tar.bz2
svga: we don't supported 3D compressed textures
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index 3c013ea..ebcad2c 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -23,6 +23,7 @@
*
**********************************************************/
+#include "util/u_format.h"
#include "util/u_memory.h"
#include "util/u_inlines.h"
#include "util/u_string.h"
@@ -446,6 +447,11 @@ svga_is_format_supported( struct pipe_screen *screen,
}
}
+ if (target == PIPE_TEXTURE_3D && util_format_is_compressed(format)) {
+ /* we don't support compressed 3D textures at this time */
+ return FALSE;
+ }
+
/*
* Query the host capabilities.
*/