Mesa (main): freedreno/ir3: Report RA failure with mesa_loge().

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 24 17:50:44 UTC 2021


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

Author: Emma Anholt <emma at anholt.net>
Date:   Wed Jun 23 12:15:02 2021 -0700

freedreno/ir3: Report RA failure with mesa_loge().

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c
index a9f3730b238..e314f1e79de 100644
--- a/src/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/freedreno/ir3/ir3_compiler_nir.c
@@ -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;
 	}
 



More information about the mesa-commit mailing list