[Mesa-dev] [PATCH] mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).

Ian Romanick idr at freedesktop.org
Mon Jun 4 13:04:37 PDT 2012


On 06/01/2012 06:32 PM, Eric Anholt wrote:
> 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 :(

And radeon, r200, and nouveau.  Basically, all the classic drivers 
except i965 and i915.

> Reviewed-by: Eric Anholt<eric at anholt.net>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list