From: Eric Anholt Date: Tue, 5 Jun 2012 20:14:38 +0000 (-0700) Subject: i965/fs: Invalidate live intervals after copy propagation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e28f55ab7909496d93ab1b552faad17453c10ac;p=mesa.git 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 --- 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; }