diff options
author | Icecream95 <[email protected]> | 2020-03-24 13:09:30 +1300 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 00:48:58 +0000 |
commit | 81d059c89859841bf6c4c74e29d2dd95f6dd93bf (patch) | |
tree | 77a700e17341c07f4fe60b198b0b00d86af3335d /src/panfrost/encoder | |
parent | bad6fc48712b761351bdd63e92859456a225d53e (diff) |
panfrost: Add support for B5G5R5X1
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/panfrost/encoder')
-rw-r--r-- | src/panfrost/encoder/pan_format.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/encoder/pan_format.c b/src/panfrost/encoder/pan_format.c index 1b8cb4faef6..26d3f7951eb 100644 --- a/src/panfrost/encoder/pan_format.c +++ b/src/panfrost/encoder/pan_format.c @@ -127,6 +127,9 @@ panfrost_find_format(const struct util_format_description *desc) case PIPE_FORMAT_B5G6R5_UNORM: return MALI_RGB565; + case PIPE_FORMAT_B5G5R5X1_UNORM: + return MALI_RGB5_X1_UNORM; + case PIPE_FORMAT_B5G5R5A1_UNORM: return MALI_RGB5_A1_UNORM; |