From 14b37ebd44e6964f87bc256c0e36586dacb16e56 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 16 Jan 2020 10:43:03 -0500 Subject: [PATCH] panfrost: Add pandecode entries for ASTC/ETC formats Signed-off-by: Alyssa Rosenzweig Tested-by: Marge Bot Part-of: --- src/panfrost/pandecode/pan_pretty_print.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/panfrost/pandecode/pan_pretty_print.c b/src/panfrost/pandecode/pan_pretty_print.c index 0f4183c4840..e0f00541f8a 100644 --- a/src/panfrost/pandecode/pan_pretty_print.c +++ b/src/panfrost/pandecode/pan_pretty_print.c @@ -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); -- 2.30.2