clover/tgsi: Add stub link_program() function.

Reviewed-by: Serge Martin <edb+mesa@sigluy.net>
Tested-by: Jan Vesely <jan.vesely@rutgers.edu>
This commit is contained in:
Francisco Jerez 2016-05-17 16:03:08 +02:00
parent ba613636e8
commit 85309e8b55
2 changed files with 9 additions and 0 deletions

View File

@ -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];
}

View File

@ -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);
}
}