From: Iago Toral Quiroga Date: Tue, 27 Nov 2018 08:43:12 +0000 (+0100) Subject: intel/compiler: fix indentation style in opt_algebraic() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=453570cd8c09bc480871504d2eee2851aea78087;p=mesa.git intel/compiler: fix indentation style in opt_algebraic() --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index aa29c8a4deb..43b920ae33d 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -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;