aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/clover/tgsi/compiler.cpp7
-rw-r--r--src/gallium/state_trackers/clover/tgsi/invocation.hpp2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/tgsi/compiler.cpp b/src/gallium/state_trackers/clover/tgsi/compiler.cpp
index d96f7e1046c..e385a079898 100644
--- a/src/gallium/state_trackers/clover/tgsi/compiler.cpp
+++ b/src/gallium/state_trackers/clover/tgsi/compiler.cpp
@@ -111,3 +111,10 @@ clover::tgsi::compile_program(const std::string &source, std::string &r_log) {
return m;
}
+
+module
+clover::tgsi::link_program(const std::vector<module> &modules)
+{
+ assert(modules.size() == 1 && "Not implemented");
+ return modules[0];
+}
diff --git a/src/gallium/state_trackers/clover/tgsi/invocation.hpp b/src/gallium/state_trackers/clover/tgsi/invocation.hpp
index 0fa20c4bb19..ae08461b014 100644
--- a/src/gallium/state_trackers/clover/tgsi/invocation.hpp
+++ b/src/gallium/state_trackers/clover/tgsi/invocation.hpp
@@ -29,6 +29,8 @@ namespace clover {
namespace tgsi {
module compile_program(const std::string &source,
std::string &r_log);
+
+ module link_program(const std::vector<module> &modules);
}
}