diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-08-06 02:17:24 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-10-10 15:54:15 -0700 |
commit | 4b821a97b5fcdc4c530d5455c43196be09830322 (patch) | |
tree | 888ba829138508d624ac04b52ee030c1b76461a7 /src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp | |
parent | 45ffaeccaf412f322605a7c7488c6ab0d85fc4b6 (diff) | |
download | external_mesa3d-4b821a97b5fcdc4c530d5455c43196be09830322.zip external_mesa3d-4b821a97b5fcdc4c530d5455c43196be09830322.tar.gz external_mesa3d-4b821a97b5fcdc4c530d5455c43196be09830322.tar.bz2 |
i965/fs: Create a helper function for invalidating live intervals.
For now, this simply sets live_intervals_valid = false, but in the
future it will do something more sophisticated.
Based on a patch by Eric Anholt.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp index 4e9825f..099eeaa 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp @@ -197,6 +197,12 @@ fs_live_variables::~fs_live_variables() #define MAX_INSTRUCTION (1 << 30) +void +fs_visitor::invalidate_live_intervals() +{ + this->live_intervals_valid = false; +} + /** * Compute the live intervals for each virtual GRF. * |