]> git.tdb.fi Git - libs/gl.git/commit
Validate the presence of in/out layout qualifiers for geometry shaders
authorMikko Rasa <tdb@tdb.fi>
Sat, 3 Sep 2022 11:33:43 +0000 (14:33 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 3 Sep 2022 12:39:57 +0000 (15:39 +0300)
commitabcd1fa06f9fab27c5934b4069523dd009862b18
tree4c590f07305886427fb0478c456c42417bf1fe8a
parent8f12c5d2527f61183b2ae36aab224eefbf52086a
Validate the presence of in/out layout qualifiers for geometry shaders

Builtin arrays are now always autosized, even when the appropriate size
isn't known, because the error message from the missing size is confusing.
source/glsl/generate.cpp
source/glsl/validate.cpp
source/glsl/validate.h
tests/glsl/missing_geometry_layouts.glsl [new file with mode: 0644]