Layered framebuffer attachments is a feature that allows applications to write attach layered textures to a single attachment. What layer the fragments are written to is decided from the shader using gl_Layer.
It currently ignores PBO linearizations since these should be dropped as soon as possible on OpenGL.