]> git.tdb.fi Git - libs/gl.git/commit
Use layout declarations to set attribute and fragment data locations
authorMikko Rasa <tdb@tdb.fi>
Sat, 19 Nov 2016 16:24:18 +0000 (18:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 19 Nov 2016 16:25:24 +0000 (18:25 +0200)
commit48e37a09b49cd4148db390170cfd07eef92c9d02
treedc4951036a03ea3847b9d6705a308c50e611b333
parent8812fe9fc71b997246ddfdedb8a91932b679d2d3
Use layout declarations to set attribute and fragment data locations

A fallback to glBind*Location functions is provided in case the
implementation does not support GLSL 3.30.
shaderlib/singlepass.glsl
source/programcompiler.cpp
source/programsyntax.h