diff options
author | Neil Roberts <neil@linux.intel.com> | 2015-10-20 11:16:00 +0200 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2015-10-21 11:07:04 +0200 |
commit | 801f151917fedb13c5c6e96281a18d833dd6901f (patch) | |
tree | fa2e96f808887fbc24040d389f3d0412a9875774 /src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp | |
parent | 38ceeeadaa2f5f0a21dba9f5339fbc4cba66dece (diff) | |
download | external_mesa3d-801f151917fedb13c5c6e96281a18d833dd6901f.zip external_mesa3d-801f151917fedb13c5c6e96281a18d833dd6901f.tar.gz external_mesa3d-801f151917fedb13c5c6e96281a18d833dd6901f.tar.bz2 |
i965: Remove block arg from foreach_inst_in_block_*_starting_from
Since 49374fab5d793 these macros no longer actually use the block
argument. I think this is worth doing to make the macros easier to use
because they already have really long names and a confusing set of
arguments.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp index 469f2ea..883e8d2 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp @@ -87,8 +87,7 @@ opt_cmod_propagation_local(bblock_t *block) continue; bool read_flag = false; - foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst, - block) { + foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { if (scan_inst->overwrites_reg(inst->src[0])) { if (scan_inst->is_partial_write() || scan_inst->dst.reg_offset != inst->src[0].reg_offset) |