aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-01 08:52:37 +0100
committerMichal Krol <[email protected]>2009-12-01 09:52:35 +0100
commit0f884ed993500171ad91fc9f2552574face9ee17 (patch)
tree1cf5f6e4abb0fa6f6406adbfc4239939f25f2bb5
parent8a619e62bffa6f21330df747940e322909937806 (diff)
sp: Do not falsely advertise support for some SNORM formats.
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c4
1 files changed, 4 insertions, 0 deletions
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;