summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2008-12-18 14:13:26 -0800
committerIan Romanick <ian.d.romanick@intel.com>2008-12-19 13:06:53 -0800
commit7e04272690e8d9deecc0bf71c37bfa4c321ae6ab (patch)
tree2f48f7a94cace063b0cdbfa79352d9fbaf3f6917 /src
parent962fa6bbc16abf2b9829bd0b761d9baa9d01fd1e (diff)
965 / GLSL: Use full precision for EXP instruction
The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 25b4ee85cb0..4a9541378f7 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -420,7 +420,7 @@ static void emit_exp_noalias( struct brw_vs_compile *c,
BRW_MATH_FUNCTION_EXP,
brw_writemask(dst, WRITEMASK_Z),
brw_swizzle1(arg0, 0),
- BRW_MATH_PRECISION_PARTIAL);
+ BRW_MATH_PRECISION_FULL);
}
if (dst.dw1.bits.writemask & WRITEMASK_W) {