[Mesa-dev] [PATCH 4/8] i965: Set the signed/unsigned type bit in Gen4/5 math messages.
Kenneth Graunke
kenneth at whitecape.org
Wed Sep 28 17:37:53 PDT 2011
It never mattered before since we only did floating point math.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 2d43c3c..5c8d63d 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);
--
1.7.6.1
More information about the mesa-dev
mailing list