[Mesa-dev] [PATCH 2/3] nir/opt_dead_cf: fix indentation
Thomas Hindoe Paaboel Andersen
phomes at gmail.com
Fri Apr 29 18:31:59 UTC 2016
---
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
More information about the mesa-dev
mailing list