draw: clipdistance support (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 12:23:00 +0000 (12:23 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jan 2012 08:20:11 +0000 (08:20 +0000)
commit1865f341d8f45b389061fc08d2da90b7aa8a6099
treedbe427bbb19465398d3c62f4f0d9b58e30728c3e
parentf7e3e46f72fffe4b83cd3f922173ff28e9ab9c7c
draw: clipdistance support (v2)

Add support for using the clipdistance instead of clip plane.

Passes all piglit clipdistance tests.

v2: fixup some comments from Brian in review.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_cliptest_tmp.h
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe_clip.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt_post_vs.c
src/gallium/auxiliary/draw/draw_vs.c
src/gallium/auxiliary/draw/draw_vs.h