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.
Nice work as always, Paul. For the series: Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev