panfrost: Add pandecode entries for ASTC/ETC formats
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>
This commit is contained in:
@@ -36,6 +36,15 @@ char *pandecode_format(enum mali_format format)
|
||||
static char unk_format_str[10];
|
||||
|
||||
switch (format) {
|
||||
DEFINE_CASE(ETC2_RGB8);
|
||||
DEFINE_CASE(ETC2_R11_UNORM);
|
||||
DEFINE_CASE(ETC2_RGBA8);
|
||||
DEFINE_CASE(ETC2_RG11_UNORM);
|
||||
DEFINE_CASE(ETC2_R11_SNORM);
|
||||
DEFINE_CASE(ETC2_RG11_SNORM);
|
||||
DEFINE_CASE(ETC2_RGB8A1);
|
||||
DEFINE_CASE(ASTC_SRGB_SUPP);
|
||||
DEFINE_CASE(ASTC_HDR_SUPP);
|
||||
DEFINE_CASE(RGB565);
|
||||
DEFINE_CASE(RGB5_A1_UNORM);
|
||||
DEFINE_CASE(RGB10_A2_UNORM);
|
||||
|
Reference in New Issue
Block a user