DescriptionThis change makes us gather all the inputs / outputs of the FS and VS using a new type, Var, and defers generating the declarations until the end. At that time the GLSL version is used to determine how they are declared.
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : fix glsl v1.2 support #Patch Set 4 : comment update #Patch Set 5 : handle fs outputs as vararrays #Patch Set 6 : function for printing a shader from array of strings #
Total comments: 16
Patch Set 7 : add assertion that declared FS outputs are not used with GLSL 1.2 #Patch Set 8 : make assert look for != 1.2 rather than == 1.5 #Patch Set 9 : incorporate comments #Patch Set 10 : remove decl of deleted function #
Total comments: 4
MessagesTotal messages: 11
|