Tested with texenv from mesa-demos.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4292>
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;
MALI_ASTC_HDR_SUPP = MALI_FORMAT_COMPRESSED | 0x17,
MALI_RGB565 = MALI_FORMAT_SPECIAL | 0x0,
+ MALI_RGB5_X1_UNORM = MALI_FORMAT_SPECIAL | 0x1,
MALI_RGB5_A1_UNORM = MALI_FORMAT_SPECIAL | 0x2,
MALI_RGB10_A2_UNORM = MALI_FORMAT_SPECIAL | 0x3,
MALI_RGB10_A2_SNORM = MALI_FORMAT_SPECIAL | 0x5,
DEFINE_CASE(ASTC_SRGB_SUPP);
DEFINE_CASE(ASTC_HDR_SUPP);
DEFINE_CASE(RGB565);
+ DEFINE_CASE(RGB5_X1_UNORM);
DEFINE_CASE(RGB5_A1_UNORM);
DEFINE_CASE(RGB10_A2_UNORM);
DEFINE_CASE(RGB10_A2_SNORM);