i965/clip: Support clip distances for line clipping
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 4 Aug 2013 16:18:22 +0000 (04:18 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 15 Aug 2013 19:24:56 +0000 (07:24 +1200)
commitcf52f6435e4e64b5f1e43efeeeb83397976806a6
treecb84a4c46e02213e987f6a2323d179cf6474647d
parent2a8a85e1ad7cc8221fb698dce3d188be767543de
i965/clip: Support clip distances for line clipping

This does the same thing as we do for triangle clipping -- select the
appropriate source (either dot(hpos,fixed plane) or a clipdistance
slot).

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_clip_line.c