It would be sane to restrict creating shader programs only to combinations that are safe and valid, right now one could for example without any problem create a pipeline of three vertex shaders in one program, which doesn't make any sense as in GL, it only makes sense to define one of each kind of shader in the program's pipeline.
So figure out a way to restrict this to safe constructs only.
It would be sane to restrict creating shader programs only to combinations that are safe and valid, right now one could for example without any problem create a pipeline of three vertex shaders in one program, which doesn't make any sense as in GL, it only makes sense to define one of each kind of shader in the program's pipeline.
So figure out a way to restrict this to safe constructs only.