From 4b7577fad86ded34e1992bd4f8854016c2988e06 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 18 May 2016 11:19:00 -0700 Subject: 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 --- src/compiler/nir/nir_lower_wpos_ytransform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/compiler/nir') 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 -- cgit v1.2.3