diff options
author | Kenneth Graunke <[email protected]> | 2013-08-06 18:37:19 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-10-10 15:54:15 -0700 |
commit | 3ea84beb1687f20074efdb1bcc790370bed2fc65 (patch) | |
tree | 1be6236e5007eaf12b8c12b3db9f03882f66f795 /src/mesa/drivers/dri/i965/brw_fs.cpp | |
parent | 939b0f2c2ff41869fce8c99986607f5daf67b63a (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index d1aed42966a..a046c3ca2c4 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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; } } |