From 21424e019d29424e2c09cf8ac197d294cf2edb5f Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Fri, 29 Apr 2016 20:31:59 +0200 Subject: [PATCH] nir/opt_dead_cf: fix indentation Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir_opt_dead_cf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compiler/nir/nir_opt_dead_cf.c b/src/compiler/nir/nir_opt_dead_cf.c index 7450b1c..74af19b 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; -- 2.7.4