summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-06-05 13:14:38 -0700
committerEric Anholt <eric@anholt.net>2012-07-06 14:20:33 -0700
commit1e28f55ab7909496d93ab1b552faad17453c10ac (patch)
treef596c973554e26b23669f7fba511f3ba44892cf1
parent2343fe9a5d1786413453e6e8e5c7700143d68a26 (diff)
i965/fs: Invalidate live intervals after copy propagation.
For copy propgation, we've dropped the use of a GRF in favor of a (probably later) use of a different GRF. This definitely requires invalidating intervals. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
index bf26d86bd7c..106964d4843 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -160,5 +160,8 @@ fs_visitor::opt_copy_propagate()
ralloc_free(mem_ctx);
+ if (progress)
+ live_intervals_valid = false;
+
return progress;
}