[Mesa-dev] [PATCH 5/5] i965/fs: Invalidate live intervals after copy propagation.
Eric Anholt
eric at anholt.net
Wed Jul 4 14:31:29 PDT 2012
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.
---
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 3 +++
1 file changed, 3 insertions(+)
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 bf26d86..106964d 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;
}
--
1.7.10
More information about the mesa-dev
mailing list