I'm not convinced this is correct/safe, at least for the meta clear. The GL 3.2 spec says, on page 221 (page 235 of the PDF):
* If the number of layers of each attachment are not all identical, rendering will be limited to the smallest number of layers of any attachment. And then in the description of layered framebuffers on page 240 (page 254 of the PDF): If the fragment’s layer number is negative, or greater than the minimum number of layers of any attachment, the effects of the fragment on the framebuffer contents are undefined. Blorp clears can obviously do whatever they like, since they don't directly use the user's framebuffer configuration. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev