diff options
author | Paul Berry <[email protected]> | 2011-08-11 15:03:19 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-08 09:36:13 -0700 |
commit | af243b55ac346f39acda1ad20d90e7c8cc1a33c7 (patch) | |
tree | 1b5acf146ad8960ac2138058aae95238222217a2 /configs/darwin-fat-all | |
parent | 2864f723d111810532fab7697ad7badf161f45ab (diff) |
glsl: Make gl_ClipDistance[] implicitly sized.
From the GLSL 1.30 spec, section 7.1 (Vertex Shader Special Variables):
The gl_ClipDistance array is predeclared as unsized and must be
sized by the shader either redeclaring it with a size or indexing it
only with integral constant expressions.
Fixes piglit tests clip-distance-implicit-length.vert,
clip-distance-implicit-nonconst-access.vert, and
{vs,fs}-clip-distance-explicitly-sized.shader_test.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'configs/darwin-fat-all')
0 files changed, 0 insertions, 0 deletions