]> git.tdb.fi Git - libs/gl.git/commit
More flexible system for customizing generated shaders
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Dec 2013 16:14:13 +0000 (18:14 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Dec 2013 16:14:13 +0000 (18:14 +0200)
commit103cebacd5572e770e4463163688802ee4f6efbf
tree54b5d5150efad0e3c1f717abe22343e1e6cd9048
parent126ac7ca4053b765eab1473d2865bce728ef2428
More flexible system for customizing generated shaders

Any standard variable can now be overridden, and new ones added.  It's
still somewhat fragile concerning variable ordering and some other things,
but it works when used correctly.
source/program.cpp
source/programbuilder.cpp
source/programbuilder.h