[Piglit] [PATCH] fbo-blit-d24s8: add GLUT_DEPTH to piglit_window_mode

Eric Anholt eric at anholt.net
Tue Oct 11 20:51:40 PDT 2011


On Mon, 10 Oct 2011 12:38:02 -0600, Brian Paul <brianp at vmware.com> wrote:
> This test tries to write to the window's depth buffer, but we weren't
> requesting one when we created the window.
> 
> This fixes a failing glGetError()==0 assertion but we still generate
> an INVALID_OPERATION error with swrast because we're trying to blit
> from an FBO with 24-bit Z values to the window with 16-bit Z values.
> That may be a bogus Mesa error check.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111011/39415377/attachment.pgp>


More information about the Piglit mailing list