OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eab897
)
svga: we don't supported 3D compressed textures
author
Brian Paul
<brianp@vmware.com>
Mon, 18 Nov 2013 22:50:33 +0000
(14:50 -0800)
committer
Brian Paul
<brianp@vmware.com>
Mon, 18 Nov 2013 23:34:02 +0000
(16:34 -0700)
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/drivers/svga/svga_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen.c
b/src/gallium/drivers/svga/svga_screen.c
index
3c013ea
..
ebcad2c
100644
(file)
--- 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.
*/