[Piglit] [PATCH 2/2] arb_stencil_texturing: Verify that glBlitFramebuffer does not corrupt state

Ilia Mirkin imirkin at alum.mit.edu
Wed Jan 13 09:02:28 PST 2016


On Wed, Jan 13, 2016 at 4:08 AM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> I recently found (by inspection) that
> glBlitFramebuffer(GL_STENCIL_BUFFER_BIT) from a GL_READ_FRAMEBUFFER with
> a GL_TEXTURE_RECTANGLE target stencil texture would corrupt the
> GL_DEPTH_STENCIL_TEXTURE_MODE.
>
> I was not able to fully test the GL_TEXTURE_3D mode.  If I set
> MESA_EXTENSION_OVERRIDE=+GL_ARB_texture_stencil8 to test 3D textures,
> the test fails due to a GL error in glTexImage3D:
>
>     Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)

I don't think 3D textures are ever legal for depth (and thus,
presumably, stencil)... are they?

  -ilia


More information about the Piglit mailing list