]> git.tdb.fi Git - libs/gl.git/commit
Tweak goal variable handling in ProgramBuilder
authorMikko Rasa <tdb@tdb.fi>
Tue, 13 May 2014 09:21:28 +0000 (12:21 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 13 May 2014 16:26:00 +0000 (19:26 +0300)
commit739769e449eac552813b01f8dbec89a579443715
tree6e1a305b5bbeb51b94f9a0f4c1f0a0b026e00c42
parent448decd4cb4baedc7975263a09cb065c25711547
Tweak goal variable handling in ProgramBuilder

All variables now have types, and goal variables are recognized by the
lack of references to them.  This solves a problem where non-optimized
legacy shaders would emit an assignment to frag_color without declaring
it first.
source/programbuilder.cpp