i965: Set dest type to UW for several send messages
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 1 Feb 2016 02:28:42 +0000 (18:28 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Feb 2016 20:03:56 +0000 (12:03 -0800)
commit7428e6f86ab5022ba07f562e124642245c63a72f
treec0169ddcb5584e27a9c57512d75ebda902fe8a83
parentaad48f86911998ab4164c9bbd091709bf5dd94a7
i965: Set dest type to UW for several send messages

Without this, on SIMD 16 the send instruction destination will appear
to write more than one destination register, causing the simulator to
report an error.

Of course, the send instruction can actually write more than one
destination register regardless of the type set for the destination,
so this is a bit strange.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs_generator.cpp