diff options
author | Icecream95 <[email protected]> | 2020-03-24 13:25:19 +1300 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 00:48:58 +0000 |
commit | bd87bcb8ac9039dcae675cef977c08eadb75c438 (patch) | |
tree | c8a0ef9ca85f497877e6eb57ae5791653d096800 /src/gallium | |
parent | 49a81a431e0b5aef53da2319b327da717603fbc6 (diff) |
panfrost: Add support for R3G3B2
Tested with texenv from mesa-demos.
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4292>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 72156cb1b67..b6f8c646602 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -461,7 +461,9 @@ panfrost_is_format_supported( struct pipe_screen *screen, if (format == PIPE_FORMAT_X8Z24_UNORM) return false; - if (format == PIPE_FORMAT_A1B5G5R5_UNORM || format == PIPE_FORMAT_X1B5G5R5_UNORM) + if (format == PIPE_FORMAT_A1B5G5R5_UNORM || + format == PIPE_FORMAT_X1B5G5R5_UNORM || + format == PIPE_FORMAT_B2G3R3_UNORM) return false; /* TODO */ |