namespace GL {
/**
-A complete shader program. Programs can be assembled of individual Shaders or
-generated with a set of standard features.
+A shader program consisting of one or more stages.
+
+Programs are created from Modules. Specialization values can be applied to
+customize behaviour of the module.
*/
class Program: public ProgramBackend
{
void add_stages(const Module &, const std::map<std::string, int> & = std::map<std::string, int>());
private:
- void collect_uniforms(const SpirVModule &, const std::map<unsigned, int> &);
- void collect_block_uniforms(const SpirVModule::Structure &, const std::string &, unsigned, const std::map<unsigned, int> &, std::vector<std::string> &);
+ void collect_uniforms(const SpirVModule &);
+ void collect_block_uniforms(const SpirVModule::Structure &, const std::string &, unsigned, std::vector<std::string> &);
void collect_attributes(const SpirVModule &);
void collect_builtins(const SpirVModule &);
void collect_builtins(const SpirVModule::Structure &);