[Mesa-dev] [PATCH 1/2] glsl: reindent line in ast_function.cpp

Dave Airlie airlied at gmail.com
Tue May 24 00:00:06 UTC 2016


From: Dave Airlie <airlied at redhat.com>

This fixes a warning with gcc -Wmisleading-indentation.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 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



More information about the mesa-dev mailing list