From: Eric Anholt Date: Mon, 27 Sep 2010 21:38:51 +0000 (-0700) Subject: i965: Fix up writemasked assignments in the new FS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11ba8bafdbb31f40ecbb6478e26496b547d34c68;p=mesa.git i965: Fix up writemasked assignments in the new FS. Not sure how I managed to get tests to succeed without this. +54 piglits. --- 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++; } }