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

Author: Marek Olšák <[email protected]>
Date:   Sat Aug  1 00:51:00 2015 +0200

Revert "gallium/radeon: re-enable unsafe math for graphics shaders"

This reverts commit 8559f6ce62a9d5b52fa8189ba2352cd48bdabccf.

It causes hangs in DOTA 2 Reborn.

---

 src/gallium/drivers/radeon/radeon_llvm_emit.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c 
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index f0112c7..0002559 100644
--- a/src/gallium/drivers/radeon/radeon_llvm_emit.c
+++ b/src/gallium/drivers/radeon/radeon_llvm_emit.c
@@ -82,10 +82,6 @@ void radeon_llvm_shader_type(LLVMValueRef F, unsigned type)
        sprintf(Str, "%1d", llvm_type);
 
        LLVMAddTargetDependentFunctionAttr(F, "ShaderType", Str);
-
-       if (type != TGSI_PROCESSOR_COMPUTE) {
-               LLVMAddTargetDependentFunctionAttr(F, "unsafe-fp-math", "true");
-       }
 }
 
 static void init_r600_target()

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to