i965/fs: Fix indentation in fs_live_variables::compute_start_end
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Oct 2015 09:26:21 +0000 (11:26 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 14 Oct 2015 06:01:46 +0000 (08:01 +0200)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp

index 19aec92..ce066a9 100644 (file)
@@ -259,16 +259,15 @@ fs_live_variables::compute_start_end()
       struct block_data *bd = &block_data[block->num];
 
       for (int i = 0; i < num_vars; i++) {
-        if (BITSET_TEST(bd->livein, i)) {
-           start[i] = MIN2(start[i], block->start_ip);
-           end[i] = MAX2(end[i], block->start_ip);
-        }
-
-        if (BITSET_TEST(bd->liveout, i)) {
-           start[i] = MIN2(start[i], block->end_ip);
-           end[i] = MAX2(end[i], block->end_ip);
-        }
+         if (BITSET_TEST(bd->livein, i)) {
+            start[i] = MIN2(start[i], block->start_ip);
+            end[i] = MAX2(end[i], block->start_ip);
+         }
 
+         if (BITSET_TEST(bd->liveout, i)) {
+            start[i] = MIN2(start[i], block->end_ip);
+            end[i] = MAX2(end[i], block->end_ip);
+         }
       }
    }
 }