OSDN Git Service

tgsi/softpipe: disable FAST_MATH
authorDave Airlie <airlied@redhat.com>
Tue, 3 Jan 2012 10:38:38 +0000 (10:38 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Jan 2012 16:19:08 +0000 (16:19 +0000)
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@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c

index d9fc2b7..7ea8511 100644 (file)
@@ -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