diff options
author | Michal Krol <[email protected]> | 2009-09-25 10:48:19 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-25 18:52:12 +0200 |
commit | a0fbc01ceaef08b33f97936d8840a6f48ec1654d (patch) | |
tree | 7a99c6106a7fc78882ee9bcca165221198da22a2 | |
parent | 02b81187dcf606ebf064ac23888e5c57d0528edf (diff) |
softpipe: Do not advertise support for L16 and YCBCR formats.
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 3c61357eba8..81fb7aa20c6 100644 --- 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: |