glsl: Use Geom.VerticesOut == -1 to specify unset
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 23 May 2016 22:53:10 +0000 (15:53 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Jun 2016 18:11:39 +0000 (11:11 -0700)
commita428c955ce5d039e035e49da6daa13088ec8617c
tree9431528290322fa34a3142cd5c6e358c01745e57
parentb27dfa5403ed1884999524417c08d2bc50365965
glsl: Use Geom.VerticesOut == -1 to specify unset

Because apparently layout(max_vertices=0) is a thing.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/linker.cpp
src/mesa/main/shaderobj.c