aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs_saturate_propagation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_fs_saturate_propagation.cpp')
-rw-r--r--src/intel/compiler/brw_fs_saturate_propagation.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/intel/compiler/brw_fs_saturate_propagation.cpp b/src/intel/compiler/brw_fs_saturate_propagation.cpp
index fe3fa7ecfea..8140de69749 100644
--- a/src/intel/compiler/brw_fs_saturate_propagation.cpp
+++ b/src/intel/compiler/brw_fs_saturate_propagation.cpp
@@ -43,8 +43,7 @@
*/
static bool
-opt_saturate_propagation_local(fs_visitor *v, bblock_t *block,
- unsigned dispatch_width)
+opt_saturate_propagation_local(fs_visitor *v, bblock_t *block)
{
bool progress = false;
int ip = block->end_ip + 1;
@@ -68,7 +67,7 @@ opt_saturate_propagation_local(fs_visitor *v, bblock_t *block,
if (scan_inst->exec_size == inst->exec_size &&
regions_overlap(scan_inst->dst, scan_inst->size_written,
inst->src[0], inst->size_read(0))) {
- if (scan_inst->is_partial_var_write(dispatch_width) ||
+ if (scan_inst->is_partial_write() ||
(scan_inst->dst.type != inst->dst.type &&
!scan_inst->can_change_types()))
break;
@@ -155,7 +154,7 @@ fs_visitor::opt_saturate_propagation()
calculate_live_intervals();
foreach_block (block, cfg) {
- progress = opt_saturate_propagation_local(this, block, dispatch_width) || progress;
+ progress = opt_saturate_propagation_local(this, block) || progress;
}
/* Live intervals are still valid. */