summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2016-10-06 09:57:31 +0200
committerSamuel Iglesias Gonsálvez <[email protected]>2017-01-03 11:26:51 +0100
commit6a01259d8a13aace16e4f1ce9e09e0e41bd52273 (patch)
tree4cd08af0220c1e1f720534b3317245cc3569835c /src
parentae400e38d90ea2fddf1b050ff94f52bdec94e150 (diff)
i965/vec4: fix indentation in lower_attributes_to_hw_regs()
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 62f40fa8050..1a14500b32b 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1687,8 +1687,8 @@ vec4_visitor::lower_attributes_to_hw_regs(const int *attribute_map,
{
foreach_block_and_inst(block, vec4_instruction, inst, cfg) {
for (int i = 0; i < 3; i++) {
- if (inst->src[i].file != ATTR)
- continue;
+ if (inst->src[i].file != ATTR)
+ continue;
int grf = attribute_map[inst->src[i].nr +
inst->src[i].offset / REG_SIZE];
@@ -1699,13 +1699,13 @@ vec4_visitor::lower_attributes_to_hw_regs(const int *attribute_map,
*/
assert(grf != 0);
- struct brw_reg reg = attribute_to_hw_reg(grf, interleaved);
- reg.swizzle = inst->src[i].swizzle;
+ struct brw_reg reg = attribute_to_hw_reg(grf, interleaved);
+ reg.swizzle = inst->src[i].swizzle;
reg.type = inst->src[i].type;
- if (inst->src[i].abs)
- reg = brw_abs(reg);
- if (inst->src[i].negate)
- reg = negate(reg);
+ if (inst->src[i].abs)
+ reg = brw_abs(reg);
+ if (inst->src[i].negate)
+ reg = negate(reg);
inst->src[i] = reg;
}