[Mesa-dev] [PATCH] mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).
Eric Anholt
eric at anholt.net
Fri Jun 1 18:32:48 PDT 2012
On Fri, 1 Jun 2012 03:52:19 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> According to Table 6.17 in the GL 2.1 specification, DEPTH_TEXTURE_MODE,
> TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC need to be restored on
> glPopAttrib(GL_TEXTURE_BIT).
>
> Makes a number of oglconform tests happier.
>
> v2: Make restoration conditional on the ARB_shadow and ARB_depth_texture
> extensions, as suggested by Brian. I'm not sure that any
> implementations still remain that don't support those, but why not?
i830 :(
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/mesa-dev/attachments/20120601/3c3034d4/attachment.pgp>
More information about the mesa-dev
mailing list