[Mesa-dev] [PATCH (gles3) 13/20] glsl: Reformat and/or/xor cases in ir_expression ctor
Chad Versace
chad.versace at linux.intel.com
Mon Jan 21 00:49:25 PST 2013
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.
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
src/glsl/ir.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index ddaf3c3..9e4c7c9 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;
--
1.8.1.1
More information about the mesa-dev
mailing list