diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp index be55533f378..33d4dcef4f5 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -458,7 +458,8 @@ fs_visitor::assign_regs() int reg = choose_spill_reg(g); if (reg == -1) { - fail("no register to spill\n"); + fail("no register to spill:\n"); + dump_instructions(); } else if (dispatch_width == 16) { fail("Failure to register allocate. Reduce number of live scalar " "values to avoid this.");