diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/clover/core/compiler.hpp | 7 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 11 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/state_trackers/clover/core/compiler.hpp b/src/gallium/state_trackers/clover/core/compiler.hpp index 0ed81fb3510..572a9f43762 100644 --- a/src/gallium/state_trackers/clover/core/compiler.hpp +++ b/src/gallium/state_trackers/clover/core/compiler.hpp @@ -29,13 +29,6 @@ namespace clover { typedef std::vector<std::pair<std::string, std::string> > header_map; - - module compile_program_llvm(const std::string &source, - const header_map &headers, - pipe_shader_ir ir, - const std::string &target, - const std::string &opts, - std::string &r_log); } #endif diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 944c30566c0..4b7de260eb8 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -281,14 +281,3 @@ clover::llvm::link_program(const std::vector<module> &modules, unreachable("Unsupported IR."); } } - -module -clover::compile_program_llvm(const std::string &source, - const header_map &headers, - enum pipe_shader_ir ir, - const std::string &target, - const std::string &opts, - std::string &r_log) { - const auto mod = compile_program(source, headers, target, opts, r_log); - return link_program({ mod }, ir, target, opts, r_log); -} |