From: Michal Krol Date: Tue, 1 Dec 2009 07:52:37 +0000 (+0100) Subject: sp: Do not falsely advertise support for some SNORM formats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f884ed993500171ad91fc9f2552574face9ee17;p=mesa.git sp: Do not falsely advertise support for some SNORM formats. --- diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 68e4ef41374..6bf3df8e6ad 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -145,6 +145,10 @@ softpipe_is_format_supported( struct pipe_screen *screen, case PIPE_FORMAT_DXT3_RGBA: case PIPE_FORMAT_DXT5_RGBA: case PIPE_FORMAT_Z32_FLOAT: + case PIPE_FORMAT_R8G8_SNORM: + case PIPE_FORMAT_B6UG5SR5S_NORM: + case PIPE_FORMAT_X8UB8UG8SR8S_NORM: + case PIPE_FORMAT_A8B8G8R8_SNORM: return FALSE; default: return TRUE;