From: Mikko Rasa Date: Sat, 10 Dec 2016 17:28:42 +0000 (+0200) Subject: Reorder declarations right after injecting the shared scope X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=94c4f0983dcaeae21b911b3a79a9e0eb656fb84a;hp=94c4f0983dcaeae21b911b3a79a9e0eb656fb84a;p=libs%2Fgl.git Reorder declarations right after injecting the shared scope This is necesary for InterfaceGenerator to recognize additional inputs in shaders that import a main function with passthrough in it. Otherwise no passthroughs would be generated and those inputs would be unusable in later stages. ---