diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-10-08 17:28:02 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-10-13 15:15:20 -0700 |
commit | f058b25881e08c9d89a33345e5c84e1357396932 (patch) | |
tree | 6cb9994881adeb9f6b14dc860b1bf10cacc66436 /src/mesa/main/attrib.c | |
parent | cf33aaf8fe2b1d22e394f431735b76f3ab04b854 (diff) |
Store clipping distance for user clip planes as part of vertex processing
Once the clipping distance is calculated and stored per vertex, the
distances can be re-used when clipping is actually performed. This
doesn't have any immediate benefit, but it paves the way for
implementing gl_ClipDistance in vertex shaders and result.clip[] in
vertex programs.
This has not produces any oglconform regressions on my G31 system
which uses software TNL.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/attrib.c')
0 files changed, 0 insertions, 0 deletions