Mesa (master): tgsi/softpipe: disable FAST_MATH

Dave Airlie airlied at kemper.freedesktop.org
Tue Jan 3 16:29:46 UTC 2012


Module: Mesa
Branch: master
Commit: 69111847a2bed4c4c2c61001b8bdff3bbe42dc98
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69111847a2bed4c4c2c61001b8bdff3bbe42dc98

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jan  3 10:38:38 2012 +0000

tgsi/softpipe: disable FAST_MATH

In the interest of softpipe preferring correctness over speed and passing more
piglit tests, set this to off by default. For speed you really want llvmpipe.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/auxiliary/tgsi/tgsi_exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index d9fc2b7..7ea8511 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -62,7 +62,7 @@
 #include "util/u_math.h"
 
 
-#define FAST_MATH 1
+#define FAST_MATH 0
 
 #define TILE_TOP_LEFT     0
 #define TILE_TOP_RIGHT    1




More information about the mesa-commit mailing list