mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
i965/fs: Invalidate live intervals when compacting; don't fix them.
When compacting the list of VGRFs, we patch up the live interval ranges (which are indexed by VGRF number). Unfortunately, once we make per-component data available, this will become too complicated to maintain. Instead, simply invalidate them. This was pulled out of a patch by Eric Anholt. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
939b0f2c2f
commit
3ea84beb16
1 changed files with 1 additions and 4 deletions
|
|
@ -1501,10 +1501,7 @@ fs_visitor::compact_virtual_grfs()
|
|||
if (remap_table[i] != -1) {
|
||||
remap_table[i] = new_index;
|
||||
virtual_grf_sizes[new_index] = virtual_grf_sizes[i];
|
||||
if (live_intervals_valid) {
|
||||
virtual_grf_start[new_index] = virtual_grf_start[i];
|
||||
virtual_grf_end[new_index] = virtual_grf_end[i];
|
||||
}
|
||||
invalidate_live_intervals();
|
||||
++new_index;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue