panfrost: Handle MALI_RGB8_UNORM in panfrost_format_to_bifrost_blend

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4944>
This commit is contained in:
Tomeu Vizoso 2020-05-07 14:56:53 +02:00 committed by Marge Bot
parent 9c3e82296c
commit 58b66f82e6

View file

@ -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;