From: Dave Airlie <[email protected]>

This fixes a warning with gcc -Wmisleading-indentation.

Signed-off-by: Dave Airlie <[email protected]>
---
 src/compiler/glsl/ast_function.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/ast_function.cpp 
b/src/compiler/glsl/ast_function.cpp
index 6c12565..4433fdd 100644
--- a/src/compiler/glsl/ast_function.cpp
+++ b/src/compiler/glsl/ast_function.cpp
@@ -1543,7 +1543,7 @@ emit_inline_matrix_constructor(const glsl_type *type,
       for (unsigned i = 1; i < last_row; i++)
          swiz[i] = i;
 
-         const unsigned write_mask = (1U << last_row) - 1;
+      const unsigned write_mask = (1U << last_row) - 1;
 
       for (unsigned i = 0; i < last_col; i++) {
          ir_dereference *const lhs =
-- 
2.5.5

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

Reply via email to