[Mesa-dev] [PATCH 05/12] nir: Make lower_wpos_ytransform_block a void function.
Kenneth Graunke
kenneth at whitecape.org
Wed May 18 22:00:10 UTC 2016
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 <kenneth at whitecape.org>
Reviewed-by: Rob Clark <robdclark at gmail.com>
---
src/compiler/nir/nir_lower_wpos_ytransform.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/compiler/nir/nir_lower_wpos_ytransform.c b/src/compiler/nir/nir_lower_wpos_ytransform.c
index c437b3a..7741df2 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
--
2.8.2
More information about the mesa-dev
mailing list