]> git.tdb.fi Git - libs/gl.git/commit
Disallow bool variables in shader interface blocks
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Nov 2021 09:21:35 +0000 (11:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Nov 2021 09:24:33 +0000 (11:24 +0200)
commitf4460c27a4d19ffb34017b92389420adad44d051
tree90ae94e89c7679b9a86eca88405f9d35ddbf84aa
parent5fa69268fa051ce8d74d30bb3d7eecc1b00cff15
Disallow bool variables in shader interface blocks

Although OpenGL allows them in uniform blocks, SPIR-V says they can't be
used with externally visible storage classes.
source/glsl/validate.cpp