Mesa (main): panfrost: always print the bad ALU op if we're failing to translate.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 1 11:38:14 UTC 2022


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

Author: Emma Anholt <emma at anholt.net>
Date:   Tue May 10 11:32:40 2022 -0700

panfrost: always print the bad ALU op if we're failing to translate.

CI failure could have told me what needed fixing, but no...

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16437>

---

 src/panfrost/midgard/midgard_compile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index 880591a56c0..6cd48caf0e5 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -946,7 +946,7 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
         }
 
         default:
-                DBG("Unhandled ALU op %s\n", nir_op_infos[instr->op].name);
+                mesa_loge("Unhandled ALU op %s\n", nir_op_infos[instr->op].name);
                 assert(0);
                 return;
         }



More information about the mesa-commit mailing list