[Piglit] [PATCH 4/4] framebuffer-blit-levels: Test stencil buffers.

Eric Anholt eric at anholt.net
Fri Sep 7 13:09:30 PDT 2012

Paul Berry <stereotype441 at gmail.com> writes:

> This patch modifies framebuffer-blit-levels to test that blitting
> between miplevels of the stencil portion of a depth/stencil texture
> works properly.  This is an important corner case for Mesa's i965
> driver.
> Note that since stencil data can't be uploaded to a texture using
> glTexImage2D(), the test creates stencil test data by drawing directly
> into the stencil buffer.

I expected that uploading a format=depth/stencil image to a
depth/stencil texture would actually store the stencil data, and it
looks like Mesa allows it (I'm looking at _mesa_texstore_z24_s8()).  Am
I missing something?

First two patches are:

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/20120907/9eafef2e/attachment.pgp>

More information about the Piglit mailing list