diff options
author | Kenneth Graunke <[email protected]> | 2011-09-28 17:37:53 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-10-02 17:01:07 -0700 |
commit | 6960f786c8e1bfbaa0d9eb5f43b3b6bfc7135fcf (patch) | |
tree | 16d98377ac2e962950b911da66dabc5021cb83ba /src/mesa | |
parent | 6b10aab2bbe0e69e2e8efca5e754870c8a543064 (diff) |
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 <[email protected]>
Tested-by: Ian Romanick <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 2d43c3c7844..5c8d63d8e32 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -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); |