このへん?
https://www.opengl.org/sdk/docs/man/xhtml/glAttachShader.xml
> It is permissible to attach multiple shader objects of the same type because each may contain a portion of the complete shader.
> It is also permissible to attach a shader object to more than one program object.