From: Mikko Rasa Date: Fri, 2 Dec 2016 10:26:12 +0000 (+0200) Subject: Reorder declarations in shaders X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=00be85f53c5bec0be00a7ed6271e1f5a38e0b534;hp=00be85f53c5bec0be00a7ed6271e1f5a38e0b534;p=libs%2Fgl.git Reorder declarations in shaders So that structs appear before variables and variables appear before functions. This ensures that the declarations stay visible if an expression is moved to an earlier point while inlining functions. ---