mesa/shaderapi: Allow 0 GEOMETRY_VERTICES_OUT.
authorFabian Bieler <fabianbieler@fastmail.fm>
Wed, 29 May 2013 22:17:42 +0000 (00:17 +0200)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:23:16 +0000 (20:23 -0700)
commit39ca58192b093607a5c7bb59d2f8cb13fbc63c63
treeb4f704305970175e276a5c538ffec8aabea3607f
parent72219acf6bd415063f93ce8b9be954a225be4b49
mesa/shaderapi: Allow 0 GEOMETRY_VERTICES_OUT.

ARB_geometry_shader4 spec Errors:
"The error INVALID_VALUE is generated by ProgramParameteriARB if <pname>
is GEOMETRY_VERTICES_OUT_ARB and <value> is negative."

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shaderapi.c