Mesa (master): swr: [rasterizer jitter] Disable unsafe FP optimizations in the jitter

Tim Rowley torowley at kemper.freedesktop.org
Wed Feb 8 20:02:08 UTC 2017


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Fri Jan 20 17:18:50 2017 -0600

swr: [rasterizer jitter] Disable unsafe FP optimizations in the jitter

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 74ffd27..5bd21a1 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
@@ -88,7 +88,7 @@ JitManager::JitManager(uint32_t simdWidth, const char *arch, const char* core)
     tOpts.AllowFPOpFusion = FPOpFusion::Fast;
     tOpts.NoInfsFPMath = false;
     tOpts.NoNaNsFPMath = false;
-    tOpts.UnsafeFPMath = true;
+    tOpts.UnsafeFPMath = false;
 #if defined(_DEBUG)
 #if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR < 7
     tOpts.NoFramePointerElim = true;




More information about the mesa-commit mailing list