mesa: Add a flag for shader programs to allow SSO linkage in GLES2.
authorEric Anholt <eric@anholt.net>
Fri, 22 Jul 2011 19:57:47 +0000 (12:57 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 18 Oct 2011 17:54:32 +0000 (10:54 -0700)
commit57f7978b1de40be6eb138d391c8d9f95b68cbf62
treeda00d5d3faa359f2f8f689dd565e1aa6e331bd7b
parentf868cb09639d69acbc900842263ac2d28b60bcc0
mesa: Add a flag for shader programs to allow SSO linkage in GLES2.

On converting fixed function programs to generate GLSL, the linker
became cranky that we were trying to make something that wasn't a
linked vertex+fragment program.  Given that the Mesa GLES2 drivers
also support desktop GL with EXT_sso, just telling the linker to shut
up seems like the easiest solution.
src/glsl/linker.cpp
src/mesa/main/mtypes.h