mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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 <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
f859e4fbd1
commit
ccf87f2199
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue