]> git.tdb.fi Git - libs/gl.git/commit
Improve rules for interface blocks
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 15:52:11 +0000 (17:52 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 15:59:38 +0000 (17:59 +0200)
commitd72d8a9163e342167f35360c807ee9ea5ebacdc2
tree3b3e33a11b027957081fa8fd902abbb6f9ef0985
parent2dec8ba3f45ff2dfa3144e63c67d673e79a58b3b
Improve rules for interface blocks

The GLSL specification says that using the same block name in different
interfaces is allowed, so we must separate blocks by interface.
source/glsl/generate.cpp
source/glsl/validate.cpp
source/glsl/validate.h
tests/glsl/block_name_conflict.glsl