From b3ca55f5aaa61539badb3d8d21106916a7388bfc Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 11 Jul 2020 13:21:36 -0700 Subject: [PATCH] freedreno/ir3: make compile fails more visible Signed-off-by: Rob Clark Part-of: --- src/freedreno/ir3/ir3_shader.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } -- 2.30.2