diff options
author | Paul Berry <[email protected]> | 2011-08-11 18:10:22 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-08 09:38:03 -0700 |
commit | b453ba2c9f8ccb1d61a0ef50f0a40592df3366c3 (patch) | |
tree | 3fd90166ffe0b75a8344c2491f6d6580cd73bed9 /src/glsl/opt_copy_propagation_elements.cpp | |
parent | 37bb1c4de2eb2fa80d09b6e8dc8f39814d790e09 (diff) |
glsl: Make sure gl_ClipDistance and gl_ClipVertex are not both written.
From section 7.1 (Vertex Shader Special Variables) of the GLSL 1.30
spec:
"It is an error for a shader to statically write both
gl_ClipVertex and gl_ClipDistance."
Fixes piglit test mixing-clip-distance-and-clip-vertex-disallowed.c.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/opt_copy_propagation_elements.cpp')
0 files changed, 0 insertions, 0 deletions