summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-09-27 14:38:51 -0700
committerEric Anholt <[email protected]>2010-09-27 16:07:42 -0700
commit11ba8bafdbb31f40ecbb6478e26496b547d34c68 (patch)
tree4c3cbe37d46b334662309affc00eb1b6d4be0079 /src
parent5e8ed7a79b381d559b059987bd99c68d40f641ca (diff)
i965: Fix up writemasked assignments in the new FS.
Not sure how I managed to get tests to succeed without this. +54 piglits.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 2b517375eb6..cf3e4e6ae84 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -868,9 +868,9 @@ fs_visitor::visit(ir_assignment *ir)
inst = emit(fs_inst(BRW_OPCODE_MOV, l, r));
if (ir->condition)
inst->predicated = true;
+ r.reg_offset++;
}
l.reg_offset++;
- r.reg_offset++;
}
}