Mesa (main): ir3: Fix printing branch type

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 12 12:25:05 UTC 2021


Module: Mesa
Branch: main
Commit: 8fb99b58dfbf104176826a677a7244221b71b6c1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fb99b58dfbf104176826a677a7244221b71b6c1

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Sep 24 19:00:22 2021 +0200

ir3: Fix printing branch type

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13142>

---

 src/freedreno/ir3/ir3_print.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedreno/ir3/ir3_print.c b/src/freedreno/ir3/ir3_print.c
index f862014e34f..423097525fc 100644
--- a/src/freedreno/ir3/ir3_print.c
+++ b/src/freedreno/ir3/ir3_print.c
@@ -484,13 +484,13 @@ print_block(struct ir3_block *block, int lvl)
       case IR3_BRANCH_COND:
          break;
       case IR3_BRANCH_ANY:
-         printf("any ");
+         mesa_log_stream_printf(stream, "any ");
          break;
       case IR3_BRANCH_ALL:
-         printf("all ");
+         mesa_log_stream_printf(stream, "all ");
          break;
       case IR3_BRANCH_GETONE:
-         printf("getone ");
+         mesa_log_stream_printf(stream, "getone ");
          break;
       }
       if (block->condition)



More information about the mesa-commit mailing list