i965: Use a UW source type for CS_OPCODE_CS_TERMINATE.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Jan 2017 08:45:53 +0000 (00:45 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jan 2017 08:52:52 +0000 (00:52 -0800)
commitfcf723b647f36fa174d29b1fe6a9732637a1f8d1
tree82c501a569c1746b34d159b04001ef6a4d85f4d1
parent9b25769da63999fa65a70a14194a452c49d18f3e
i965: Use a UW source type for CS_OPCODE_CS_TERMINATE.

SIMD16 compute shaders use a send(16) with mlen 1 for the EOT message,
using a source of g127 for the single register.  With a UD type, this
supposedly could read g128, which doesn't exist, causing the simulator
to get cranky.  Use a UW type to avoid this.

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp