intel/compiler: fix indentation style in opt_algebraic()
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 27 Nov 2018 08:43:12 +0000 (09:43 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 27 Nov 2018 08:53:09 +0000 (09:53 +0100)
src/intel/compiler/brw_fs.cpp

index aa29c8a4deb027d9a06f4f025b296297caf6d76b..43b920ae33d3aa293b2491f0c4b397707e4ee5f0 100644 (file)
@@ -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;