From: Thomas Hindoe Paaboel Andersen Date: Fri, 29 Apr 2016 18:31:59 +0000 (+0200) Subject: nir/opt_dead_cf: fix indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21424e019d29424e2c09cf8ac197d294cf2edb5f;p=mesa.git nir/opt_dead_cf: fix indentation Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/nir/nir_opt_dead_cf.c b/src/compiler/nir/nir_opt_dead_cf.c index 7450b1c4742..74af19b8428 100644 --- a/src/compiler/nir/nir_opt_dead_cf.c +++ b/src/compiler/nir/nir_opt_dead_cf.c @@ -221,11 +221,11 @@ dead_cf_block(nir_block *block) { nir_if *following_if = nir_block_get_following_if(block); if (following_if) { - nir_const_value *const_value = - nir_src_as_const_value(following_if->condition); + nir_const_value *const_value = + nir_src_as_const_value(following_if->condition); - if (!const_value) - return false; + if (!const_value) + return false; opt_constant_if(following_if, const_value->u32[0] != 0); return true;