mesa/src
Kenneth Graunke 608c3d2083 mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).
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?

NOTE: This is a candidate for stable release branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-06-02 12:02:42 -07:00
..
egl egl_dri2: Fix out of tree builds with the wayland backend enabled 2012-05-03 11:45:59 -04:00
gallium radeon/llvm: Fix VTX_READ patterns 2012-06-01 16:52:26 -04:00
gbm gbm: Add gbm_bo_write entry point 2012-05-03 10:57:32 -04:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Remove spurious printf messages 2012-06-01 12:27:04 -07:00
glu glu: fix two Clang warnings 2012-05-21 08:29:23 -06:00
glx scons: add code to generate the various GL API files 2012-05-31 09:40:35 -06:00
gtest gtest: Don't actually install a library. 2012-04-16 11:25:39 -07:00
mapi scons: generate the glapitable.h file too 2012-06-01 08:27:21 -06:00
mesa mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT). 2012-06-02 12:02:42 -07:00
Makefile
SConscript scons: add code to generate the various GL API files 2012-05-31 09:40:35 -06:00