i965/vs: Port the fix for clip plane writemasks from brw_vs_emit.c.

This commit is contained in:
Eric Anholt 2011-08-05 16:23:42 -07:00
parent 83d5850518
commit 4a4857246c

View file

@ -1618,7 +1618,7 @@ vec4_visitor::emit_vue_header_gen6(int header_mrf)
m = brw_message_reg(header_mrf + 1);
emit(BRW_OPCODE_DP4,
dst_reg(brw_writemask(m, 1 << (i & 7))),
dst_reg(brw_writemask(m, 1 << (i & 3))),
src_reg(c->userplane[i]));
}
header_mrf += 2;