diff options
author | Matt Turner <mattst88@gmail.com> | 2014-07-11 20:38:09 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-07-14 11:27:52 -0700 |
commit | 130c99ca1538dc6320c6ed14ac8aff84b8e6b135 (patch) | |
tree | 5be30caa4547d55344f80b32fb76fd2cc5462e21 /src | |
parent | aba15d93a64e4f6619f641e252a7bc6c43442a29 (diff) | |
download | external_mesa3d-130c99ca1538dc6320c6ed14ac8aff84b8e6b135.zip external_mesa3d-130c99ca1538dc6320c6ed14ac8aff84b8e6b135.tar.gz external_mesa3d-130c99ca1538dc6320c6ed14ac8aff84b8e6b135.tar.bz2 |
i965/vec4: Invalidate live intervals in opt_cse, not _local.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_cse.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp index 7bb016d..83c7eb8 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp @@ -244,9 +244,6 @@ vec4_visitor::opt_cse_local(bblock_t *block) ralloc_free(cse_ctx); - if (progress) - invalidate_live_intervals(); - return progress; } @@ -265,5 +262,8 @@ vec4_visitor::opt_cse() progress = opt_cse_local(block) || progress; } + if (progress) + invalidate_live_intervals(); + return progress; } |