softpipe: Do not advertise support for L16 and YCBCR formats.
authorMichal Krol <michal@vmware.com>
Fri, 25 Sep 2009 08:48:19 +0000 (10:48 +0200)
committerMichal Krol <michal@vmware.com>
Fri, 25 Sep 2009 16:52:12 +0000 (18:52 +0200)
src/gallium/drivers/softpipe/sp_screen.c

index 3c61357eba867aabbcccf600cbbcc3aa99bdbeb0..81fb7aa20c67e2ec4c1fdeffc0800ab071ab63c2 100644 (file)
@@ -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: