diff options
author | Matt Turner <mattst88@gmail.com> | 2014-09-01 10:58:11 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-09-24 09:42:46 -0700 |
commit | a4fb8897a2bd00eefa8a503ec17d45e791bced91 (patch) | |
tree | 2f11f06d9b31e43a464bedf5449aaf693254c9d7 /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | |
parent | 072ea414d04f1b9a7bf06a00b9011e8ad521c878 (diff) | |
download | external_mesa3d-a4fb8897a2bd00eefa8a503ec17d45e791bced91.zip external_mesa3d-a4fb8897a2bd00eefa8a503ec17d45e791bced91.tar.gz external_mesa3d-a4fb8897a2bd00eefa8a503ec17d45e791bced91.tar.bz2 |
i965: Remove now unneeded calls to calculate_cfg().
Now that nothing invalidates the CFG, we can calculate_cfg() immediately
after emit_fb_writes()/emit_thread_end() and never again.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 806135b..da208dc 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp @@ -608,8 +608,6 @@ fs_visitor::opt_copy_propagate_local(void *copy_prop_ctx, bblock_t *block, bool fs_visitor::opt_copy_propagate() { - calculate_cfg(); - bool progress = false; void *copy_prop_ctx = ralloc_context(NULL); exec_list *out_acp[cfg->num_blocks]; |