[Mesa-dev] [PATCH 43/47] clover/llvm: Get rid of compile_program_llvm().
Francisco Jerez
currojerez at riseup.net
Mon Jul 4 00:51:52 UTC 2016
Superseded by compile_program() and link_program().
Reviewed-by: Serge Martin <edb+mesa at sigluy.net>
---
src/gallium/state_trackers/clover/core/compiler.hpp | 7 -------
src/gallium/state_trackers/clover/llvm/invocation.cpp | 11 -----------
2 files changed, 18 deletions(-)
diff --git a/src/gallium/state_trackers/clover/core/compiler.hpp b/src/gallium/state_trackers/clover/core/compiler.hpp
index 0ed81fb..572a9f4 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 944c305..4b7de26 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);
-}
--
2.9.0
More information about the mesa-dev
mailing list