]> git.tdb.fi Git - libs/gl.git/commit
Avoid generating invalid interfaces in geometry shader
authorMikko Rasa <tdb@tdb.fi>
Thu, 11 Mar 2021 21:39:59 +0000 (23:39 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 11 Mar 2021 21:39:59 +0000 (23:39 +0200)
commit16c02e4dc3c9a10df15d4ddca2afd29cf3be8d73
tree80da7319bf66475d7169d1593d8ef9bc1dbcd52d
parent9e44b553e200a9377901bd8e4c9de2b1465ec86a
Avoid generating invalid interfaces in geometry shader

Geometry inputs need an extra array dimension compared to vertex shader
outputs, but multi-dimensional arrays currently can't be properly
represented.
source/glsl/generate.cpp
tests/glsl/ignore_array_in_geometry_passthrough.glsl [new file with mode: 0644]