aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2015-02-26 18:20:06 -0500
committerTom Stellard <[email protected]>2015-02-27 14:57:44 +0000
commit75514555aa0061299034bf15b5df31ab6746c0e5 (patch)
treed9b1caebd9d67ac2d8109821476981c96162540d /src/gallium
parented07255149d7cffac07615e946289b3d683faa4b (diff)
clover: Don't unconditionally define cl_khr_fp64
This should be done by the frontend for devices that support this extension. Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 508979a0225..93548122647 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -203,7 +203,6 @@ namespace {
// clc.h requires that this macro be defined:
c.getPreprocessorOpts().addMacroDef("cl_clang_storage_class_specifiers");
- c.getPreprocessorOpts().addMacroDef("cl_khr_fp64");
c.getLangOpts().NoBuiltin = true;
c.getTargetOpts().Triple = triple;