nir/opt_dead_cf: fix indentation

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2016-04-29 20:31:59 +02:00
committed by Jason Ekstrand
parent 6935726197
commit 21424e019d

View 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;