glsl: Don't require gl_Position to be written in GLSL 1.40.
authorEric Anholt <eric@anholt.net>
Tue, 20 Mar 2012 05:43:27 +0000 (22:43 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Mar 2012 19:07:54 +0000 (12:07 -0700)
commitf1c1c9eabea3c38110dc4312bc6cb4319bb82130
treed788acb0b276a3297938231ae68f836ae45f8c25
parent0bc440774489a3f7b4f61bf1161fad7dcf548596
glsl: Don't require gl_Position to be written in GLSL 1.40.

Fixes piglit glsl-1.40/execution/tf-no-position.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp