From: Kenneth Graunke Date: Wed, 18 May 2016 18:19:00 +0000 (-0700) Subject: nir: Make lower_wpos_ytransform_block a void function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b7577fad86ded34e1992bd4f8854016c2988e06;p=mesa.git nir: Make lower_wpos_ytransform_block a void function. The return value was used for the old nir_foreach_block callback system, but at this point it no longer means anything. Signed-off-by: Kenneth Graunke Reviewed-by: Rob Clark --- 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