summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-07-11 20:37:04 -0700
committerMatt Turner <[email protected]>2014-07-14 11:27:52 -0700
commit1ca6b5d2e8a32644a5ddd6c6c0ec0193e6f7e772 (patch)
treedeee1379bb6b7c8f1052d6daa84eb1210553a1bb /src
parentbdbaa9ab5be23861fdab3dca38c0728cc9ee24bc (diff)
i965/fs: Invalidate live intervals in opt_cse, not _local.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_cse.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}