glsl: Support redeclaration of VS and GS gl_PerVertex output.