glsl: add more vertex/fragment output info helpers