mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 20:50:44 +02:00
intel/compiler: fix indentation style in opt_algebraic()
This commit is contained in:
parent
16e4911972
commit
453570cd8c
1 changed files with 10 additions and 10 deletions
|
|
@ -2431,16 +2431,16 @@ fs_visitor::opt_algebraic()
|
|||
break;
|
||||
|
||||
case BRW_OPCODE_MUL:
|
||||
if (inst->src[1].file != IMM)
|
||||
continue;
|
||||
if (inst->src[1].file != IMM)
|
||||
continue;
|
||||
|
||||
/* a * 1.0 = a */
|
||||
if (inst->src[1].is_one()) {
|
||||
inst->opcode = BRW_OPCODE_MOV;
|
||||
inst->src[1] = reg_undef;
|
||||
progress = true;
|
||||
break;
|
||||
}
|
||||
/* a * 1.0 = a */
|
||||
if (inst->src[1].is_one()) {
|
||||
inst->opcode = BRW_OPCODE_MOV;
|
||||
inst->src[1] = reg_undef;
|
||||
progress = true;
|
||||
break;
|
||||
}
|
||||
|
||||
/* a * -1.0 = -a */
|
||||
if (inst->src[1].is_negative_one()) {
|
||||
|
|
@ -2468,7 +2468,7 @@ fs_visitor::opt_algebraic()
|
|||
progress = true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case BRW_OPCODE_ADD:
|
||||
if (inst->src[1].file != IMM)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue