freedreno/ir3: Report RA failure with mesa_loge().
authorEmma Anholt <emma@anholt.net>
Wed, 23 Jun 2021 19:15:02 +0000 (12:15 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Jun 2021 17:34:06 +0000 (17:34 +0000)
This is a major failure that should never happen (if we had spilling
support), don't hide the log behind DEBUG builds.

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

src/freedreno/ir3/ir3_compiler_nir.c

index a9f3730..e314f1e 100644 (file)
@@ -4066,7 +4066,7 @@ ir3_compile_shader_nir(struct ir3_compiler *compiler,
        ret = ir3_ra(so);
 
        if (ret) {
-               DBG("RA failed!");
+               mesa_loge("ir3_ra() failed!");
                goto out;
        }