summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/jitter
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-01-20 17:18:50 -0600
committerTim Rowley <[email protected]>2017-02-08 13:58:00 -0600
commit79174e52b5677e348e6ba20542d3897779d3b101 (patch)
treede8d25decf83c01070265f8ac77fb64c00166225 /src/gallium/drivers/swr/rasterizer/jitter
parentdb599e316a2d181cf4f7f0c364a7d9eb8145243d (diff)
swr: [rasterizer jitter] Disable unsafe FP optimizations in the jitter
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/jitter')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 74ffd27c46e..5bd21a1cf02 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;