From 7e04272690e8d9deecc0bf71c37bfa4c321ae6ab Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 18 Dec 2008 14:13:26 -0800 Subject: [PATCH] 965 / GLSL: Use full precision for EXP instruction The partial precision mode doesn't have quite enough bits of precision to pass conformance tests. --- src/mesa/drivers/dri/i965/brw_vs_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2