[Mesa-dev] [PATCH 0/5] glsl: Add front-end support for gl_ClipDistance.

Ian Romanick idr at freedesktop.org
Wed Sep 7 14:52:24 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/06/2011 01:51 PM, Paul Berry wrote:
> This patch series modifies the GLSL front-end to implement all the
> proper behaviors for gl_ClipDistance, namely:
> 
> - gl_ClipDistance is predeclared as unsized in both the vertex and
>   fragment shader.
> - It is an error to size gl_ClipDistance (either explicitly or
>   implicitly) larger than gl_MaxClipDistances.
> - It is an error to write to both gl_ClipDistance and gl_ClipVertex.
> 
> There is no back-end support for gl_ClipDistance yet.
> 
> [PATCH 1/5] glsl: Make gl_ClipDistance[] implicitly sized.
> [PATCH 2/5] glsl: Add constant gl_MaxClipDistances.
> [PATCH 3/5] glsl: Rework oversize array check for gl_TexCoord.
> [PATCH 4/5] glsl: Check that gl_ClipDistance[] is not sized too large.
> [PATCH 5/5] glsl: Make sure gl_ClipDistance and gl_ClipVertex are not both written.

For the series:

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk5n55cACgkQX1gOwKyEAw9ArwCfX73wFkPttrPemvlj/LsIH7Sg
CW4AnRInhCbIHNIAr4Czmvba5x9lNDNr
=GSke
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list