]> git.tdb.fi Git - libs/gl.git/commit
Reorder declarations right after injecting the shared scope
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 17:28:42 +0000 (19:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 17:28:42 +0000 (19:28 +0200)
commit94c4f0983dcaeae21b911b3a79a9e0eb656fb84a
tree5e0e32e6c3ff34eb24eb88bd9706c8f1683eb855
parente6824add54056141e7507a33e821af01d1398973
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.
source/programcompiler.cpp