From 75514555aa0061299034bf15b5df31ab6746c0e5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 26 Feb 2015 18:20:06 -0500 Subject: [PATCH] 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 --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2