From 85309e8b55419f7d80dcf7e962e54e00f6acb05c Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 17 May 2016 16:03:08 +0200 Subject: clover/tgsi: Add stub link_program() function. Reviewed-by: Serge Martin Tested-by: Jan Vesely --- src/gallium/state_trackers/clover/tgsi/compiler.cpp | 7 +++++++ src/gallium/state_trackers/clover/tgsi/invocation.hpp | 2 ++ 2 files changed, 9 insertions(+) (limited to 'src/gallium/state_trackers') 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 &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 &modules); } } -- cgit v1.2.3