diff options
author | Marek Olšák <[email protected]> | 2013-02-01 21:45:15 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-02-07 00:20:24 +0100 |
commit | 4dc142d521f9161275deb030efcde112f835307c (patch) | |
tree | 37c449cb6c5b3c16dae39c5449618112f786ebe0 /src/gallium/drivers/r300/r300_screen.c | |
parent | 27e216a07501f4d2ade1e1ec8b9a1f709304013b (diff) |
r300g: fix blending and alpha-test with RGBX16F and enable MSAA for it
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 60759160b0e..d644ebb6153 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -414,7 +414,8 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, boolean is_half_float = format == PIPE_FORMAT_R16_FLOAT || format == PIPE_FORMAT_R16G16_FLOAT || format == PIPE_FORMAT_R16G16B16_FLOAT || - format == PIPE_FORMAT_R16G16B16A16_FLOAT; + format == PIPE_FORMAT_R16G16B16A16_FLOAT || + format == PIPE_FORMAT_R16G16B16X16_FLOAT; const struct util_format_description *desc; if (!util_format_is_supported(format, usage)) @@ -451,7 +452,8 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, if (!util_format_is_depth_or_stencil(format) && !util_format_is_rgba8_variant(desc) && !util_format_is_rgba1010102_variant(desc) && - format != PIPE_FORMAT_R16G16B16A16_FLOAT) { + format != PIPE_FORMAT_R16G16B16A16_FLOAT && + format != PIPE_FORMAT_R16G16B16X16_FLOAT) { return FALSE; } } else { |