glsl2: Remove the shader_in/shader_out tracking separate from var->mode.