i965/fs: Fix stride for multiply in macro.
authorMatt Turner <mattst88@gmail.com>
Fri, 24 Apr 2015 18:28:04 +0000 (11:28 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 27 Apr 2015 21:44:32 +0000 (14:44 -0700)
commitecf428aa5945c5e1941b6bf496a381c7a09cdda2
tree84703344e07531b8c4a64e3e206c4bd9c237f061
parentb3e29a20225756c8db299088e0b6ead82139cabb
i965/fs: Fix stride for multiply in macro.

We have to use W/UW type for src1 of the multiply in the MUL/MACH macro,
but in order to read the low 16-bits of each 32-bit integer, we need to
set the appropriate stride.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp