r300g: Don't multisample non-32-bpp render targets.

This commit is contained in:
Corbin Simpson
2010-06-16 10:51:04 -07:00
parent 68cefb423a
commit 8ecca392da
+6
View File
@@ -278,10 +278,16 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
switch (sample_count) {
case 0:
case 1:
break;
case 2:
case 3:
case 4:
case 6:
if (usage != PIPE_BIND_RENDER_TARGET ||
!util_format_is_rgba8_variant(
util_format_description(format))) {
return FALSE;
}
break;
default:
return FALSE;