From 453570cd8c09bc480871504d2eee2851aea78087 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Tue, 27 Nov 2018 09:43:12 +0100 Subject: [PATCH] intel/compiler: fix indentation style in opt_algebraic() --- src/intel/compiler/brw_fs.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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; -- 2.30.2