mesa/st: Allow geometry shaders without gl_Position export.
authorFabian Bieler <fabianbieler@fastmail.fm>
Wed, 29 May 2013 22:54:55 +0000 (00:54 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Oct 2013 07:35:42 +0000 (08:35 +0100)
commit20cad7fd6f6cbd8fc330c7bc54e8e1c62ae5f431
treecb0f46c56c7db0021a91b466ca75afb9229c8c8a
parent9bfa475684fb20afacce01fa02b1a39bc3f23bdc
mesa/st: Allow geometry shaders without gl_Position export.

From the ARB_geometry_shader4 spec (section Geometry Shader outputs):
"The built-in special variable gl_Position is intended to hold the
homogeneous vertex position. Writing gl_Position is optional."

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_program.c