From 79174e52b5677e348e6ba20542d3897779d3b101 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Fri, 20 Jan 2017 17:18:50 -0600 Subject: swr: [rasterizer jitter] Disable unsafe FP optimizations in the jitter Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3