glsl: check geometry output vertices limits.
authorDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 01:56:31 +0000 (11:56 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 04:26:03 +0000 (14:26 +1000)
commit4d8a71f7f18986f3969489ea8e94de335378a479
tree651cbc65b1d6a569797286aff14fcd95847e1a6e
parent13c68e1447f90d067462ec4fa3186c5c871a56fe
glsl: check geometry output vertices limits.

This fixes:
GL45-CTS.geometry_shader.limits.max_output_vertices

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/glsl_parser_extras.cpp