]> git.tdb.fi Git - libs/gl.git/commit
Rename imported interface variables in InterfaceGenerator
authorMikko Rasa <tdb@tdb.fi>
Sat, 14 Apr 2018 07:42:02 +0000 (10:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 14 Apr 2018 07:51:58 +0000 (10:51 +0300)
commit6fe1876a3040cc78ba4713194abf6d121f419458
tree23fdd04237abad0326ac0b164645f6d7cd9659dc
parent75db32b9aa62dba642391fb072068f6032c22472
Rename imported interface variables in InterfaceGenerator

Doing it as a separate pass caused trouble when a variable was accessed
both with passthrough and explicitly.  Two input variable declarations
were generated and only one of them was linked to the output variable of
the previous stage, leading to the output variable being removed.
source/programcompiler.cpp
source/programcompiler.h