diff options
author | Paul Berry <[email protected]> | 2013-04-09 19:51:41 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-01 20:22:55 -0700 |
commit | 40d469f9ac45dfb825364af7a0436346c13502d6 (patch) | |
tree | a55aba12ed903c54aad74181c9eda192f225de23 /src/glsl/linker.cpp | |
parent | 05234e707bb811e3807d260c1c6cac59a4f1820f (diff) |
glsl/linker: Properly error check VS-GS linkage.
From section 4.3.4 (Inputs) of the GLSL 1.50 spec:
Geometry shader input variables get the per-vertex values written
out by vertex shader output variables of the same names. Since a
geometry shader operates on a set of vertices, each input varying
variable (or input block, see interface blocks below) needs to be
declared as an array.
Therefore, the element type of each geometry shader input array should
match the type of the corresponding vertex shader output.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions