Are buffer writemasks supposed to affect glBlitFramebuffer (i.e. glColorMask, glDepthMask, glStencilMask)?
What I'm seeing is that glStencilMask affects glBlitFramebuffer( GL_STENCIL_BUFFER_BIT ). Set it to 0 and nothing gets copied. Set it to ~0 and it all gets copied.
This surprised me because neither the man page, the spec, nor the original extension state that glBlitFramebuffer honors the buffer write masks (AFAICS). Whereas (by contrast) glClear is very clear about that.
So is this a bug, a feature, or ...undefined behavior?



. (I probably can't tell more)
