diff options
author | Iago Toral Quiroga <[email protected]> | 2018-11-27 09:43:12 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-11-27 09:53:09 +0100 |
commit | 453570cd8c09bc480871504d2eee2851aea78087 (patch) | |
tree | 13b58e86c55c02fa34cd2aecbe61f0c2e58873e1 /src | |
parent | 16e4911972754af49268a5014fc07f0a45a8e7af (diff) |
intel/compiler: fix indentation style in opt_algebraic()
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 20 |
1 files 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; |