Module: Mesa
Branch: master
Commit: 1e28f55ab7909496d93ab1b552faad17453c10ac
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e28f55ab7909496d93ab1b552faad17453c10ac

Author: Eric Anholt <[email protected]>
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 <[email protected]>

---

 .../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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to