Module: Mesa
Branch: master
Commit: 9d2bbca98d2712f7bafe66cb3bc08859ff14133e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d2bbca98d2712f7bafe66cb3bc08859ff14133e

Author: Iago Toral Quiroga <[email protected]>
Date:   Tue Oct 13 11:26:21 2015 +0200

i965/fs: Fix indentation in fs_live_variables::compute_start_end

Reviewed-by: Francisco Jerez <[email protected]>

---

 src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp 
b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
index 19aec92..ce066a9 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
@@ -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);
+         }
       }
    }
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to