summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-04 09:36:17 +1000
committerDave Airlie <airlied@redhat.com>2010-08-04 09:37:43 +1000
commit8bc5fe1ad67127f642c47da0a307aa7bd8696fab (patch)
tree9819dc4b85bed70c9e1285a36573c1b1ee98aaed /src/gallium/drivers/r300/r300_screen.c
parent48268e0f2a5e65b63586398db3a58523a8c7a7a0 (diff)
r300g: disable multisample visuals until the state tracker bits catch up.
This stops us advertising lots of ms visuals we can't actually use. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 676430f5fe..6268001054 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -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;