summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_lower_wpos_ytransform.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/nir/nir_lower_wpos_ytransform.c b/src/compiler/nir/nir_lower_wpos_ytransform.c
index c437b3a2797..7741df216a2 100644
--- a/src/compiler/nir/nir_lower_wpos_ytransform.c
+++ b/src/compiler/nir/nir_lower_wpos_ytransform.c
@@ -276,7 +276,7 @@ lower_interp_var_at_offset(lower_wpos_ytransform_state *state,
flip_y)));
}
-static bool
+static void
lower_wpos_ytransform_block(lower_wpos_ytransform_state *state, nir_block *block)
{
nir_foreach_instr_safe(instr, block) {
@@ -301,8 +301,6 @@ lower_wpos_ytransform_block(lower_wpos_ytransform_state *state, nir_block *block
lower_fddy(state, alu);
}
}
-
- return true;
}
static void