From 1e28f55ab7909496d93ab1b552faad17453c10ac Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 5 Jun 2012 13:14:38 -0700 Subject: 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 --- 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 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; } -- cgit v1.2.3