diff options
author | Kenneth Graunke <[email protected]> | 2015-08-27 14:04:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-03 22:31:03 -0700 |
commit | 294282aaa6a517b455d3e31d12e2d85516ac04e6 (patch) | |
tree | 7c9c5beb1bbd4bc9fd450b7b8d7ee1e2b6a97798 /docs/opengles.html | |
parent | a2151560b8d65be31129c00872ea8d70c564b110 (diff) |
i965: Remove legacy clip plane handling from geometry shaders.
We only support geometry shaders in core profiles, where gl_ClipVertex
doesn't exist. Presumably the even older behavior of clipping to
gl_Position isn't supported either. In fact, GLSL 1.50 page 76 claims:
"The shader must also set all values in gl_ClipDistance that have been
enabled via the OpenGL API, or results are undefined."
So we don't need to handle legacy clipping in geometry shaders. I think
Paul added this back when we were considering supporting the old
GL_ARB_geometry_shader4 extension.
This removes a non-orthagonal state dependency on GS compilation.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'docs/opengles.html')
0 files changed, 0 insertions, 0 deletions