summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_pipe_common.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-06-10 22:43:29 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-06-21 13:52:05 +0200
commitb16d21270f9ea0173ebe059a3e82a4b451a80596 (patch)
tree45f9a2b34c48851bf194f42ca8d7b3b98007fb02 /src/gallium/drivers/radeon/r600_pipe_common.c
parent70a25478fec653673569f5fb81170207d68f5112 (diff)
downloadexternal_mesa3d-b16d21270f9ea0173ebe059a3e82a4b451a80596.zip
external_mesa3d-b16d21270f9ea0173ebe059a3e82a4b451a80596.tar.gz
external_mesa3d-b16d21270f9ea0173ebe059a3e82a4b451a80596.tar.bz2
radeonsi: add a debug flag for unsafe math LLVM optimizations
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.c')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
index fa9f70d..5d4a679 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/src/gallium/drivers/radeon/r600_pipe_common.c
@@ -482,6 +482,7 @@ static const struct debug_named_value common_debug_options[] = {
{ "sisched", DBG_SI_SCHED, "Enable LLVM SI Machine Instruction Scheduler." },
{ "mono", DBG_MONOLITHIC_SHADERS, "Use old-style monolithic shaders compiled on demand" },
{ "noce", DBG_NO_CE, "Disable the constant engine"},
+ { "unsafemath", DBG_UNSAFE_MATH, "Enable unsafe math shader optimizations" },
DEBUG_NAMED_VALUE_END /* must be last */
};