aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Kristóf <[email protected]>2020-01-27 08:16:29 +0100
committerMarge Bot <[email protected]>2020-04-07 11:29:35 +0000
commit90b1047fdf84724a00be36f204e790246ad63a72 (patch)
tree24bf3421da3249aed789ac433abe59e13964e575
parentb9cbdb6a457675c33480e446851a7f1df3be22e9 (diff)
aco: Print block_kind_export_end.
Useful when debugging issues with exports. Signed-off-by: Timur Kristóf <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3576>
-rw-r--r--src/amd/compiler/aco_print_ir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp
index 11d93ddf7b5..9324632d433 100644
--- a/src/amd/compiler/aco_print_ir.cpp
+++ b/src/amd/compiler/aco_print_ir.cpp
@@ -689,6 +689,8 @@ static void print_block_kind(uint16_t kind, FILE *output)
fprintf(output, "needs_lowering, ");
if (kind & block_kind_uses_demote)
fprintf(output, "uses_demote, ");
+ if (kind & block_kind_export_end)
+ fprintf(output, "export_end, ");
}
void aco_print_block(const struct Block* block, FILE *output)