[Mesa-dev] [PATCH] st/clover: Allow double precision operations
Niels Ole Salscheider
niels_ole at salscheider-online.de
Tue Jul 2 01:44:37 PDT 2013
Pass "cl_khr_fp64" preprocessor definition to clang
Signed-off-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
---
src/gallium/state_trackers/clover/llvm/invocation.cpp | 1 +
1 Datei geändert, 1 Zeile hinzugefügt(+)
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index dae61f7..bc85b61 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -175,6 +175,7 @@ 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;
--
1.7.11.7
More information about the mesa-dev
mailing list