r300g: disable multisample visuals until the state tracker bits catch up.
authorDave Airlie <airlied@redhat.com>
Tue, 3 Aug 2010 23:36:17 +0000 (09:36 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Aug 2010 23:37:43 +0000 (09:37 +1000)
This stops us advertising lots of ms visuals we can't actually use.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_screen.c

index 676430f5fee61e24e11df23b5b7cc17ec54618f9..6268001054b49c3f450df425ed1a6346f6022aeb 100644 (file)
@@ -279,11 +279,14 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
         case 3:
         case 4:
         case 6:
+            return FALSE;
+#if 0
             if (usage != PIPE_BIND_RENDER_TARGET ||
                 !util_format_is_rgba8_variant(
                     util_format_description(format))) {
                 return FALSE;
             }
+#endif
             break;
         default:
             return FALSE;