i965/fs: Reindent emit_zip().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 27 May 2016 08:02:19 +0000 (01:02 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 2 Jun 2016 20:24:48 +0000 (13:24 -0700)
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp

index f8b0059abe95a9d025cb3662ca497c07e15a88ec..366d9ffbffb942d77ab885ef37f47cbdbadae0a2 100644 (file)
@@ -5177,23 +5177,23 @@ emit_zip(const fs_builder &lbld, bblock_t *block, fs_inst *inst)
             inst->dst.component_size(inst->exec_size);
 
    if (needs_dst_copy(lbld, inst)) {
-   const fs_reg tmp = lbld.vgrf(inst->dst.type, dst_size);
+      const fs_reg tmp = lbld.vgrf(inst->dst.type, dst_size);
 
-   if (inst->predicate) {
-      /* Handle predication by copying the original contents of the
-       * destination into the temporary before emitting the lowered
-       * instruction.
-       */
-      for (unsigned k = 0; k < dst_size; ++k)
-         cbld.at(block, inst)
-             .MOV(offset(tmp, lbld, k), offset(dst, inst->exec_size, k));
-   }
+      if (inst->predicate) {
+         /* Handle predication by copying the original contents of
+          * the destination into the temporary before emitting the
+          * lowered instruction.
+          */
+         for (unsigned k = 0; k < dst_size; ++k)
+            cbld.at(block, inst)
+                .MOV(offset(tmp, lbld, k), offset(dst, inst->exec_size, k));
+      }
 
-   for (unsigned k = 0; k < dst_size; ++k)
-      cbld.at(block, inst->next)
-          .MOV(offset(dst, inst->exec_size, k), offset(tmp, lbld, k));
+      for (unsigned k = 0; k < dst_size; ++k)
+         cbld.at(block, inst->next)
+             .MOV(offset(dst, inst->exec_size, k), offset(tmp, lbld, k));
 
-   return tmp;
+      return tmp;
 
    } else {
       /* No need to allocate a temporary for the lowered instruction, just