[Piglit] [PATCH] fbo-blit-d24s8: don't try to blit betweendifferent Z/stencil depths
eric at anholt.net
Tue Jan 3 18:04:26 PST 2012
On Mon, 2 Jan 2012 15:09:36 -0700, Brian Paul <brianp at vmware.com> wrote:
> The docs for glBlitFramebuffer say GL_INVALID_OPERATION is generated
> if the source/dest depth/stencil buffer formats do no match. The spec
> is a bit vague on what's meant by formats (do just the component depths
> need to match, or must the hw formats match?) but clearly if the depths
> don't match, the formats can't match.
> This fixes a bogus error that's generated when testing swrast which
> usually uses a 16-bit depth buffer for the window and a 24-bit Z
> renderbuffer for the FBO.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Piglit