summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-05-27 01:02:19 -0700
committerFrancisco Jerez <[email protected]>2016-06-02 13:24:48 -0700
commit060c8d245deb83aeb412de98810cad6052aafb78 (patch)
tree4733ac094e391bf2d7ab5e7bf47bdd97a7c5cd00
parent7aa76d66a1f5edad9e8c1d54aafdce99ffa6c345 (diff)
i965/fs: Reindent emit_zip().
Cc: [email protected] Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f8b0059abe9..366d9ffbffb 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -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