[Piglit] [PATCH] glsl-1.40: Expect shadow comparison alpha to be 1.0

Eric Anholt eric at anholt.net
Wed Feb 20 17:03:57 PST 2013


Ian Romanick <idr at freedesktop.org> writes:

> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Appendix E.1 (Profiles and Deprecated Features of OpenGL 3.0) of the
> OpenGL 3.1 spec says:
>
>     • Depth texture mode - DEPTH TEXTURE MODE. Section 3.9.14 is to be
>       changed so that r is returned to texture samplers directly, and
>       the OpenGL Shading Language 1.30 Specification is to be changed so
>       that (r, r, r, 1) is always returned from depth texture samplers
>       in this case.

If the test relies on GL core-not-compat behavior, we should specify the
version in the requirements.  Oh, but we don't have a way to say "core"
in shader_runner :(
-------------- 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/piglit/attachments/20130220/3432f60b/attachment.pgp>


More information about the Piglit mailing list