diff options
author | Francisco Jerez <[email protected]> | 2016-05-17 16:03:08 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-07-11 20:34:34 -0700 |
commit | 85309e8b55419f7d80dcf7e962e54e00f6acb05c (patch) | |
tree | 0ece0a183ad432d78f5642575589d2ceea7d7521 | |
parent | ba613636e8a0f16e0386dc7dc88529f7027eecea (diff) |
clover/tgsi: Add stub link_program() function.
Reviewed-by: Serge Martin <[email protected]>
Tested-by: Jan Vesely <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/clover/tgsi/compiler.cpp | 7 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/tgsi/invocation.hpp | 2 |
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); } } |