glsl: Add constant gl_MaxClipDistances.
authorPaul Berry <stereotype441@gmail.com>
Fri, 12 Aug 2011 00:33:06 +0000 (17:33 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 8 Sep 2011 16:37:12 +0000 (09:37 -0700)
commit36c4b1a3da44a80624eab9da6543540b4b253f1d
tree70c08a3443e9c91ba0561b090d6d0092f2fd3dad
parentaf243b55ac346f39acda1ad20d90e7c8cc1a33c7
glsl: Add constant gl_MaxClipDistances.

Fixes piglit tests {vs,fs}-clip-distance-sizeable-to-max.shader_test.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_variable.cpp