From: Rob Clark Date: Sat, 11 Jul 2020 20:21:36 +0000 (-0700) Subject: freedreno/ir3: make compile fails more visible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3ca55f5aaa61539badb3d8d21106916a7388bfc;p=mesa.git freedreno/ir3: make compile fails more visible Signed-off-by: Rob Clark Part-of: --- diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c index 6ecce8fb290..146cc352f1c 100644 --- a/src/freedreno/ir3/ir3_shader.c +++ b/src/freedreno/ir3/ir3_shader.c @@ -176,13 +176,15 @@ compile_variant(struct ir3_shader_variant *v) { int ret = ir3_compile_shader_nir(v->shader->compiler, v); if (ret) { - debug_error("compile failed!"); + _debug_printf("compile failed! (%s:%s)", v->shader->nir->info.name, + v->shader->nir->info.label); return false; } assemble_variant(v); if (!v->bin) { - debug_error("assemble failed!"); + _debug_printf("assemble failed! (%s:%s)", v->shader->nir->info.name, + v->shader->nir->info.label); return false; }