]> git.tdb.fi Git - libs/gl.git/commit
Allow redeclarations to override the type of a variable
authorMikko Rasa <tdb@tdb.fi>
Fri, 18 Nov 2016 22:01:40 +0000 (00:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 19 Nov 2016 00:17:37 +0000 (02:17 +0200)
commitec5ec4201b60b8ba15aaa6208e453225a1d7a291
tree4a025e9e4476dd17e701fd3381df7c2a868b64bf
parente55f79ccb21e8c1be3d86f127e3ec1583e58ce92
Allow redeclarations to override the type of a variable

This can be used to e.g. change the sampler type of the diffuse map.  At
the moment the appropriate sampling function also needs to be overridden
since texcoord dimensions are not handled automatically.
source/programcompiler.cpp