glsl: Reformat and/or/xor cases in ir_expression ctor
authorChad Versace <chad.versace@linux.intel.com>
Tue, 15 Jan 2013 20:11:37 +0000 (12:11 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 25 Jan 2013 05:24:10 +0000 (21:24 -0800)
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 <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/ir.cpp

index 98e926d090af35baa5adb72b1b9d6d89b7927cf5..bb02df37bf1950e508dfb91f5fb6bc06fcf9f16c 100644 (file)
@@ -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;