diff options
author | Tomeu Vizoso <[email protected]> | 2020-05-07 14:56:53 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-07 17:16:53 +0000 |
commit | 58b66f82e648eaa9378699aadcc5862bb941483d (patch) | |
tree | 8ef3d54ed59824fcbf8e39d8ae1fe3666853d58c /src/panfrost | |
parent | 9c3e82296c8bfc96ac956918a69f917a954c1f12 (diff) |
panfrost: Handle MALI_RGB8_UNORM in panfrost_format_to_bifrost_blend
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4944>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/encoder/pan_format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/encoder/pan_format.c b/src/panfrost/encoder/pan_format.c index 408f815b6f8..66b3e68af00 100644 --- a/src/panfrost/encoder/pan_format.c +++ b/src/panfrost/encoder/pan_format.c @@ -285,6 +285,7 @@ panfrost_format_to_bifrost_blend(const struct util_format_description *desc) case MALI_RGBA4_UNORM: return MALI_RGBA4; case MALI_RGBA8_UNORM: + case MALI_RGB8_UNORM: return MALI_RGBA8_2; case MALI_RGB10_A2_UNORM: return MALI_RGB10_A2_2; |