[Piglit] [PATCH 4/4] framebuffer-blit-levels: Test stencil buffers.
stereotype441 at gmail.com
Thu Sep 13 11:28:28 PDT 2012
On 7 September 2012 13:09, Eric Anholt <eric at anholt.net> wrote:
> 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>
Yes, you're right. I'll push patches 1-2 and rework patches 3-4.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Piglit