From: Michal Krol Date: Fri, 25 Sep 2009 08:48:19 +0000 (+0200) Subject: softpipe: Do not advertise support for L16 and YCBCR formats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0fbc01ceaef08b33f97936d8840a6f48ec1654d;p=mesa.git softpipe: Do not advertise support for L16 and YCBCR formats. --- 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: