From: Ian Romanick Date: Thu, 18 Dec 2008 22:13:26 +0000 (-0800) Subject: 965 / GLSL: Use full precision for EXP instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e04272690e8d9deecc0bf71c37bfa4c321ae6ab;p=mesa.git 965 / GLSL: Use full precision for EXP instruction The partial precision mode doesn't have quite enough bits of precision to pass conformance tests. --- 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) {