i965/gen8: Always use BRW_REGISTER_TYPE_UW for MUL on GEN8+
authorMarta Lofstedt <marta.lofstedt@intel.com>
Tue, 29 Dec 2015 15:15:45 +0000 (16:15 +0100)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Wed, 30 Dec 2015 08:29:14 +0000 (09:29 +0100)
commit97685ff10e0f866d809fc1e8f115fb6e92ce717c
tree51c443c5301a3c4d7bc4cf60bcc4a2e6d0497baf
parent0d4cd045c8a74efd7d43ceb841bde43cc6eee65d
i965/gen8: Always use BRW_REGISTER_TYPE_UW for MUL on GEN8+

The imulExtended tests of the shader bitfield tests of the
OpenGL ES 3.1 CTS, fail on gen8+, when BRW_REGISTER_TYPE_W
is used for SHADER_OPECODE_MULH.

Also, remove unused helper function:
static inline bool type_is_signed(unsigned type)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92595
Signed-off-by: Marta Lofstedt <marta.lofstedt@linux.intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_reg.h