diff options
author | Kenneth Graunke <[email protected]> | 2016-05-18 11:19:00 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-05-20 14:29:04 -0700 |
commit | 4b7577fad86ded34e1992bd4f8854016c2988e06 (patch) | |
tree | bc4b180398c8dd8157c9522ac222251504a9fe5b /src/compiler/nir | |
parent | 88ea960aa74402ea358d05b95709c3299002ad83 (diff) |
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 <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_lower_wpos_ytransform.c | 4 |
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 |