aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2013-01-15 12:11:37 -0800
committerChad Versace <[email protected]>2013-01-24 21:24:10 -0800
commitccf87f2199819a9e78713e416a34b886194a2f51 (patch)
tree2315b816852b6b097fa02c63ca5365a922f748f6 /src/glsl/ir.cpp
parentf859e4fbd1424a5f4ba6ff01c1e896034cc7815f (diff)
glsl: Reformat and/or/xor cases in ir_expression ctor
Replace tabs with spaces. According to docs/devinfo.html, Mesa's indetation style is: indent -br -i3 -npcs --no-tabs infile.c -o outfile.c This patch prevents whitespace weirdness in the next patch. Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r--src/glsl/ir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index 98e926d090a..bb02df37bf1 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -379,9 +379,9 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1)
case ir_binop_bit_xor:
case ir_binop_bit_or:
if (op0->type->is_scalar()) {
- this->type = op1->type;
+ this->type = op1->type;
} else if (op1->type->is_scalar()) {
- this->type = op0->type;
+ this->type = op0->type;
}
break;