diff options
author | Francisco Jerez <[email protected]> | 2016-05-17 16:03:16 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-07-11 20:34:35 -0700 |
commit | c2e37fe1f95916c7669fe84118acd2e3683ae077 (patch) | |
tree | 26a6acf8345ed01c8d85ea139f93b9cb2141c4d1 /src | |
parent | 010918f5aa78f51dda6c98a639f6f4422e9be2e5 (diff) |
clover/llvm: Get rid of compile_program_llvm().
Superseded by compile_program() and link_program().
Reviewed-by: Serge Martin <[email protected]>
Tested-by: Jan Vesely <[email protected]>
Diffstat (limited to 'src')
-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); -} |