Mesa (master): i965/fs: Invalidate live intervals after copy propagation.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Jul 6 21:20:50 UTC 2012
Module: Mesa
Branch: master
Commit: 1e28f55ab7909496d93ab1b552faad17453c10ac
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e28f55ab7909496d93ab1b552faad17453c10ac
Author: Eric Anholt <eric at anholt.net>
Date: Tue Jun 5 13:14:38 2012 -0700
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 at whitecape.org>
---
.../drivers/dri/i965/brw_fs_copy_propagation.cpp | 3 +++
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 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;
}
More information about the mesa-commit
mailing list