--- src/gallium/drivers/svga/svga_screen.c | 6 ++++++ 1 file changed, 6 insertions(+)
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. */ -- 1.7.10.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev