[Piglit] [PATCH 4/4] framebuffer-blit-levels: Test stencil buffers.
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
> 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
Size: 197 bytes
Desc: not available
More information about the Piglit