aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-07-11 13:21:36 -0700
committerMarge Bot <[email protected]>2020-07-14 23:26:15 +0000
commitb3ca55f5aaa61539badb3d8d21106916a7388bfc (patch)
tree0a8e72dfa4dfa0b5930cc7991035d0c4d10fdb6a /src/freedreno/ir3
parent788792fc466104759cf0abeaa79c52411d26ebb1 (diff)
freedreno/ir3: make compile fails more visible
Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5907>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r--src/freedreno/ir3/ir3_shader.c6
1 files 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;
}