summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/clover/llvm/invocation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm/invocation.hpp')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.hpp b/src/gallium/state_trackers/clover/llvm/invocation.hpp
index ff9caa457ca..1f0e9db2cf7 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.hpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.hpp
@@ -40,6 +40,14 @@ namespace clover {
const device &device,
const std::string &opts,
std::string &r_log);
+
+#ifdef HAVE_CLOVER_SPIRV
+ module compile_to_spirv(const std::string &source,
+ const header_map &headers,
+ const device &dev,
+ const std::string &opts,
+ std::string &r_log);
+#endif
}
}