panfrost: Dump unknown formats before aborting
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 26 Jun 2019 23:36:17 +0000 (16:36 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 28 Jun 2019 22:10:05 +0000 (15:10 -0700)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_format.c

index 3ab39ed30690a5f55f07bd7af97f455b592fc673..563b381574b012cc52b2c59b3d65c68dd9ee5973 100644 (file)
@@ -233,6 +233,7 @@ panfrost_find_format(const struct util_format_description *desc)
                         break;
 
                 default:
+                        printf("%s\n", util_format_name(desc->format));
                         unreachable("Invalid format type");
         }