From: Marek Olšák Date: Fri, 31 Jul 2015 22:51:00 +0000 (+0200) Subject: Revert "gallium/radeon: re-enable unsafe math for graphics shaders" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d29eaef85c15663cde317c2df58ea81637c53f9;p=mesa.git Revert "gallium/radeon: re-enable unsafe math for graphics shaders" This reverts commit 8559f6ce62a9d5b52fa8189ba2352cd48bdabccf. It causes hangs in DOTA 2 Reborn. --- 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()