summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <[email protected]>2016-04-29 20:31:59 +0200
committerJason Ekstrand <[email protected]>2016-04-30 12:16:29 -0700
commit21424e019d29424e2c09cf8ac197d294cf2edb5f (patch)
tree03cc75e7e153d1de80f09f59dba68a69fdab1a21 /src
parent69357261972ede8ef4c6ed315a416b94c9300724 (diff)
nir/opt_dead_cf: fix indentation
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir/nir_opt_dead_cf.c8
1 files 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 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;