projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d756f
)
glsl: reindent line in ast_function.cpp
author
Dave Airlie
<airlied@redhat.com>
Mon, 23 May 2016 23:31:30 +0000
(09:31 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 24 May 2016 00:14:31 +0000
(10:14 +1000)
This fixes a warning with gcc -Wmisleading-indentation.
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_function.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/ast_function.cpp
b/src/compiler/glsl/ast_function.cpp
index
6c12565
..
4433fdd
100644
(file)
--- 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 =