--- src/glsl/nir/nir.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 3c897b2..a12c209 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -1654,9 +1654,7 @@ nir_foreach_block(nir_function_impl *impl, nir_foreach_block_cb cb, void *state) return false; } - cb(impl->end_block, state); - - return true; + return cb(impl->end_block, state); } static bool -- 2.2.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev