From: Alyssa Rosenzweig Date: Thu, 16 Jan 2020 15:43:03 +0000 (-0500) Subject: panfrost: Add pandecode entries for ASTC/ETC formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14b37ebd44e6964f87bc256c0e36586dacb16e56;p=mesa.git panfrost: Add pandecode entries for ASTC/ETC formats Signed-off-by: Alyssa Rosenzweig Tested-by: Marge Bot Part-of: --- 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);