aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heidelberger <[email protected]>2014-06-18 22:52:41 +0200
committerMarek Olšák <[email protected]>2014-06-19 01:43:09 +0200
commit8658fe3e4ccbea31cee11f12bb6eb5cfb93eb524 (patch)
treef6e7f469abbead21c9029ac4bea73e15558887e5
parent57f3da997a9ddeaebcf9296f946d54a9125e183b (diff)
r300g: don't advertize PIPE_FORMAT_B10G10R10X2_UNORM on < r500
Signed-off-by: David Heidelberger <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/r300/r300_screen.c1
1 files changed, 1 insertions, 0 deletions
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 ||