i965: Don't use MACH for integer multiplies on Gen8+.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 20 Jan 2013 16:58:14 +0000 (08:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Dec 2013 21:25:32 +0000 (13:25 -0800)
commitbc9d3a02540e11b863a1f7e7cf755764a02233fe
tree5b8c32def095c9f13ba1f4b1992e58223b1cba06
parent5720832f23f486e2c869ecb022a6a9ba47ac1619
i965: Don't use MACH for integer multiplies on Gen8+.

The documentation is really hard to follow, but apparently a 32-bit x
32-bit multiply just works without the MACH macro.  The macro apparently
is only necessary to get the full 64-bit value.

Fixes Piglit tests [vf]s-op-mult-int-int.shader_test.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp