consider using shader reflection to grab the fragment shader outputs and match them with the framebuffer renderdescriptor for the current pipeline