Attempting to be clear...
For any given object that you want to render, there may be a whole bunch of things that need to be considered for rendering (Material, Texture, Lighting, Blending etc). But, you may also have some objects which are very simple, and do not have a Texture or material or require any blending and ignore lights.
So, how do people approach this. Do you write one GLSL pipelineshader that has various booleans and checks that need to be set as vertices are pumped through, or do you write several pipelines that are suited to yourseparate shaders for each general categoriescategory of object, and switch between these as your render?