diff options
author | Marek Olšák <[email protected]> | 2010-04-10 19:59:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-11 01:32:15 +0200 |
commit | 26a54ed6fddd42d8dba3d0c18d9d23ea63c62807 (patch) | |
tree | 076288cd848614aa22c3182b7c06bd351bf11e8f /src/gallium/drivers/r300/r300_screen.c | |
parent | 21ba2cd63239eed4930959218cf5b03c56b26065 (diff) |
r300g: pick up some new colorbuffer formats
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 2eae5756e32..8fc1d5aa00e 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -205,7 +205,10 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, boolean is_r400 = r300_screen(screen)->caps.is_r400; boolean is_z24 = format == PIPE_FORMAT_X8Z24_UNORM || format == PIPE_FORMAT_S8_USCALED_Z24_UNORM; - boolean is_color2101010 = format == PIPE_FORMAT_R10G10B10A2_UNORM; + boolean is_color2101010 = format == PIPE_FORMAT_R10G10B10A2_UNORM || + format == PIPE_FORMAT_R10G10B10X2_SNORM || + format == PIPE_FORMAT_B10G10R10A2_UNORM || + format == PIPE_FORMAT_R10SG10SB10SA2U_NORM; boolean is_ati1n = format == PIPE_FORMAT_RGTC1_UNORM || format == PIPE_FORMAT_RGTC1_SNORM; boolean is_ati2n = format == PIPE_FORMAT_RGTC2_UNORM || |