projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b8118
)
softpipe: Do not advertise support for L16 and YCBCR formats.
author
Michal Krol
<michal@vmware.com>
Fri, 25 Sep 2009 08:48:19 +0000
(10:48 +0200)
committer
Michal Krol
<michal@vmware.com>
Fri, 25 Sep 2009 16:52:12 +0000
(18:52 +0200)
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index 3c61357eba867aabbcccf600cbbcc3aa99bdbeb0..81fb7aa20c67e2ec4c1fdeffc0800ab071ab63c2 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-135,6
+135,9
@@
softpipe_is_format_supported( struct pipe_screen *screen,
target == PIPE_TEXTURE_CUBE);
switch(format) {
+ case PIPE_FORMAT_L16_UNORM:
+ case PIPE_FORMAT_YCBCR_REV:
+ case PIPE_FORMAT_YCBCR:
case PIPE_FORMAT_DXT1_RGB:
case PIPE_FORMAT_DXT1_RGBA:
case PIPE_FORMAT_DXT3_RGBA: