diff options
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index 5c03c53023a..152da8de237 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -702,8 +702,10 @@ schedule_program(compiler_context *ctx) int spill_node = ra_get_best_spill_node(g); - if (spill_node < 0) + if (spill_node < 0) { + mir_print_shader(ctx); assert(0); + } /* Allocate TLS slot */ unsigned spill_slot = spill_count++; |