Skip to content
Snippets Groups Projects
Commit 4db985a5 authored by Michel Dänzer's avatar Michel Dänzer
Browse files

Revert "radeon/llvm: enable unsafe math for graphics shaders"

This reverts commit 0e9cdedd.

It caused the grass to disappear in The Talos Principle.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89069


Cc: "10.5 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent b7a85bee
No related branches found
No related tags found
Loading
......@@ -80,10 +80,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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment