aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bi_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/bifrost/bi_print.c')
-rw-r--r--src/panfrost/bifrost/bi_print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c
index 5c465db6ed1..029b11d6e47 100644
--- a/src/panfrost/bifrost/bi_print.c
+++ b/src/panfrost/bifrost/bi_print.c
@@ -415,3 +415,10 @@ bi_print_block(bi_block *block, FILE *fp)
fprintf(fp, "\n");
}
+
+void
+bi_print_shader(bi_context *ctx, FILE *fp)
+{
+ bi_foreach_block(ctx, block)
+ bi_print_block(block, fp);
+}