nir/opt_dead_cf: fix indentation
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 29 Apr 2016 18:31:59 +0000 (20:31 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Apr 2016 19:16:29 +0000 (12:16 -0700)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_dead_cf.c

index 7450b1c474213218c80ce97c068ce3b59e6b3db1..74af19b84284c5d38fa700e4a1fc3bbc74b4f3e7 100644 (file)
@@ -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;