From: David Heidelberger Date: Wed, 18 Jun 2014 20:52:41 +0000 (+0200) Subject: r300g: don't advertize PIPE_FORMAT_B10G10R10X2_UNORM on < r500 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8658fe3e4ccbea31cee11f12bb6eb5cfb93eb524;p=mesa.git r300g: don't advertize PIPE_FORMAT_B10G10R10X2_UNORM on < r500 Signed-off-by: David Heidelberger Signed-off-by: Marek Olšák --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 82d30e78042..d4bb6abd71d 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -423,6 +423,7 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, boolean is_color2101010 = format == PIPE_FORMAT_R10G10B10A2_UNORM || format == PIPE_FORMAT_R10G10B10X2_SNORM || format == PIPE_FORMAT_B10G10R10A2_UNORM || + format == PIPE_FORMAT_B10G10R10X2_UNORM || format == PIPE_FORMAT_R10SG10SB10SA2U_NORM; boolean is_ati1n = format == PIPE_FORMAT_RGTC1_UNORM || format == PIPE_FORMAT_RGTC1_SNORM ||