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_saturate_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_saturate_propagation.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp index 8792a8c..862e324 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp @@ -64,7 +64,7 @@ opt_saturate_propagation_local(fs_visitor *v, bblock_t *block) int src_end_ip = v->live_intervals->end[src_var]; bool interfered = 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.type != inst->dst.type && |