diff options
author | Marek Olšák <[email protected]> | 2010-02-05 05:01:14 +0100 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-02-06 23:25:29 -0800 |
commit | f02aec35e77b1d3944506e7622a4212dc88f84b5 (patch) | |
tree | 786e037132be3949dbe08fa607ecdd22f3772fcd /src/gallium/drivers/r300/r300_screen.c | |
parent | 198e810a200eab06c662888c7ec85ae2459ec85a (diff) |
r300g: add L8_SRGB and A8L8_SRGB texture formats
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 18eecf7c135..2e04e313767 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -236,6 +236,8 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, case PIPE_FORMAT_DXT3_RGBA: case PIPE_FORMAT_DXT5_RGBA: case PIPE_FORMAT_YCBCR: + case PIPE_FORMAT_L8_SRGB: + case PIPE_FORMAT_A8L8_SRGB: case PIPE_FORMAT_A8L8_UNORM: retval = usage & PIPE_TEXTURE_USAGE_SAMPLER; break; |