i965/vec4: Use MOV, not OR, to set URB write channel mask bits.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Aug 2014 03:06:44 +0000 (20:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Aug 2014 20:39:25 +0000 (13:39 -0700)
commitaf13cf609f4257768ad8b80be8cec7f2e6ca8c81
tree3a09601425df93d8783e1fef49b6a804ccd68c68
parentefc818e3a4dae5634b6296412771c995c156228e
i965/vec4: Use MOV, not OR, to set URB write channel mask bits.

g0.5 has nothing of value to contribute to m0.5.  In both the VS and GS
payload, g0.5 contains the scratch space pointer - which is definitely
not of any use.  The GS payload also contains FFTID, but the URB write
message header doesn't want FFTID.

The only reason I used OR was because Eric originally requested it.
On Broadwell, I used MOV, and that's worked out fine.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c