On Sat, Mar 29, 2014 at 7:14 PM, Eric Anholt <[email protected]> wrote:
> Matt Turner <[email protected]> writes:
>
>> Otherwise calling dump_instructions() after declaring a new fs_reg would
>> segfault when calculate_register_pressure()'s loop over reg walked off
>> the end of the virtual_grf_start[] array that calculate_live_intervals()
>> would have reallocated for you, if it had known there was a new
>> register.
>
> Should we just invalidate from virtual_grf_alloc(), to solve the problem
> in general?

I don't think we need to go that far, since calculate_live_intervals
isn't going to be called in weird places except for calling
dump_instructions from gdb.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to