panfrost: always print the bad ALU op if we're failing to translate.
authorEmma Anholt <emma@anholt.net>
Tue, 10 May 2022 18:32:40 +0000 (11:32 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Jun 2022 10:56:35 +0000 (10:56 +0000)
CI failure could have told me what needed fixing, but no...

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

src/panfrost/midgard/midgard_compile.c

index 880591a..6cd48ca 100644 (file)
@@ -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;
         }