i965: Set the signed/unsigned type bit in Gen4/5 math messages.

It never mattered before since we only did floating point math.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2011-09-28 17:37:53 -07:00
parent 6b10aab2bb
commit 6960f786c8
+1 -1
View File
@@ -1533,7 +1533,7 @@ void brw_math( struct brw_compile *p,
brw_set_math_message(p,
insn,
function,
BRW_MATH_INTEGER_UNSIGNED,
src.type == BRW_REGISTER_TYPE_D,
precision,
saturate,
data_type);