diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-08-01 00:51:00 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-08-01 00:52:05 +0200 |
commit | 5d29eaef85c15663cde317c2df58ea81637c53f9 (patch) | |
tree | 2346482030b39dba85e751acf31087f17d2b5c67 | |
parent | a40179f47ba11e78097ae1a839df6f3911a6749f (diff) |
Revert "gallium/radeon: re-enable unsafe math for graphics shaders"
This reverts commit 8559f6ce62a9d5b52fa8189ba2352cd48bdabccf.
It causes hangs in DOTA 2 Reborn.
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_emit.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c index f0112c784d4..00025590137 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() |