On Fri, 22 Apr 2011 14:19:04 +0200, Henri Verbeet <hverb...@gmail.com> wrote:
> Hi,
> 
> A while ago we talked on IRC about the FBO completeness rules for read
> / draw FBOs.
> 
> The specific bug that triggered that was that Mesa only applies
> ReadBuffer() calls to the read FBO and DrawBuffers() to the draw FBO.
> This means that if you're trying to do a depth blit using
> BlitFramebuffer() (and set both the read and draw buffers to NONE),
> you're going to get an incomplete draw buffer on the read fbo, and an
> incomplete read buffer on the draw FBO, because both of those are
> still set to the default COLOR_ATTACHMENT0.
> 
> The other, somewhat more hypothetical example was doing a
> BlitFrambuffer() from a read FBO with just a COLOR0 attachment to the
> second attachment of a draw FBO with both COLOR0 and COLOR1
> attachments. This would currently work, but more by accident than
> anything else.
> 
> I think the things that came out of that conversation were the following:
>   - ARB_ES2_compatibility / GL4.1 will make all of this just go away
> by ignoring read / draw buffers for FBO completeness.

ARB_ES2_compatibility is already landed, so the point should be moot
now, right?

Attachment: pgpBTAkjJ3SAo.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to