Glsl function - add ModularProgram

Isn't a Variable a ShaderObject? So we never get into this `if`.