[Mesa-dev] [PATCH 6/7] panfrost: Dump unknown formats before aborting

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Thu Jun 27 13:12:26 UTC 2019


Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
---
 src/gallium/drivers/panfrost/pan_format.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c
index 3ab39ed3069..563b381574b 100644
--- a/src/gallium/drivers/panfrost/pan_format.c
+++ b/src/gallium/drivers/panfrost/pan_format.c
@@ -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");
         }
 
-- 
2.20.1



More information about the mesa-dev mailing list