linker: Assign varying locations geometry shader inputs for SSO
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 1 Dec 2014 22:07:30 +0000 (14:07 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 3 Dec 2014 19:33:49 +0000 (11:33 -0800)
commita909b995d95892798a189818454905fdefd4bc9b
tree1eadf377ee72309871a9a7f75a08b77807ded20f
parent5eca78a00a5de442aaf541a1095d5cfa6b4f45de
linker: Assign varying locations geometry shader inputs for SSO

Previously only geometry shader outputs would be assigned locations if
the geometry shader was the only stage in the linked program.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: pavol@klacansky.com
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82585
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/linker.cpp