aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-01-16 10:43:03 -0500
committerAlyssa Rosenzweig <[email protected]>2020-01-21 08:35:23 -0500
commit14b37ebd44e6964f87bc256c0e36586dacb16e56 (patch)
treed90486cb6fe5fdd73674c2d374c1adfa9c48d8f3
parent31bd3b52795faa02717d5cca3179965b0d207bea (diff)
panfrost: Add pandecode entries for ASTC/ETC formats
Signed-off-by: Alyssa Rosenzweig <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>
-rw-r--r--src/panfrost/pandecode/pan_pretty_print.c9
1 files changed, 9 insertions, 0 deletions
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);