r300g: don't advertize PIPE_FORMAT_B10G10R10X2_UNORM on < r500
authorDavid Heidelberger <david.heidelberger@ixit.cz>
Wed, 18 Jun 2014 20:52:41 +0000 (22:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Jun 2014 23:43:09 +0000 (01:43 +0200)
Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r300/r300_screen.c

index 82d30e7..d4bb6ab 100644 (file)
@@ -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 ||