mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
panfrost/midgard: Dump MIR of RA failure
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
a08e9511e3
commit
40abf11708
1 changed files with 3 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue