]> git.tdb.fi Git - libs/gl.git/commit
Add legacy conversion for binding layout qualifiers
authorMikko Rasa <tdb@tdb.fi>
Sat, 3 Apr 2021 16:33:29 +0000 (19:33 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 3 Apr 2021 17:57:53 +0000 (20:57 +0300)
commitc6b29fbf9927467b21dca65539a1fa2c98f96e0e
treed29ea0ff8aa2b246ab0fa47d530b6fbec08f2353
parentdfde6f3568c1a840232cf860f4a260a987a1433b
Add legacy conversion for binding layout qualifiers

These are not yet used by Program because there's no good way to detect
which uniforms had bindings in case the implementation does support the
qualifiers.  Anything missing a binding gets assigned binding 0, which
is also a valid manually specified binding.  Upcoming commits will move
bindings entirely to GLSL side.
source/glsl/compiler.cpp
source/glsl/compiler.h
source/glsl/finalize.cpp
source/glsl/finalize.h
source/glsl/syntax.h