From 1ca6b5d2e8a32644a5ddd6c6c0ec0193e6f7e772 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 11 Jul 2014 20:37:04 -0700 Subject: i965/fs: Invalidate live intervals in opt_cse, not _local. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_cse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/i965') diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp index 90a8a143691..92c7495b990 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp @@ -307,9 +307,6 @@ fs_visitor::opt_cse_local(bblock_t *block) ralloc_free(cse_ctx); - if (progress) - invalidate_live_intervals(); - return progress; } @@ -327,5 +324,8 @@ fs_visitor::opt_cse() progress = opt_cse_local(block) || progress; } + if (progress) + invalidate_live_intervals(); + return progress; } -- cgit v1.2.3