glsl: Make more use of gl_shader_stage enum in link_varyings.cpp.
authorPaul Berry <stereotype441@gmail.com>
Tue, 7 Jan 2014 19:13:32 +0000 (11:13 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 8 Jan 2014 15:31:55 +0000 (07:31 -0800)
commit80ee24823f9faeb95c46ec2bc899bb828a923c3b
treebdc0405ba42d931c535cdaf47fe9b430d8b2bb68
parent911007820962d78a60c8056f64c0bde1ea724149
glsl: Make more use of gl_shader_stage enum in link_varyings.cpp.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
v2: Also rename "shaderType" param of is_varying_var() to "stage".

Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/link_varyings.cpp