draw: use position not clipVertex output for xyz view volume clipping
authorRoland Scheidegger <sroland@vmware.com>
Fri, 11 Dec 2015 21:49:01 +0000 (22:49 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 15 Dec 2015 01:03:40 +0000 (02:03 +0100)
commit9e3f2af3c3732bd618308ddeffb017966a4fc93e
treea5d0293c4a4addcc0b9720347aad0eebc77ef233
parent77cc2666b1935442f8a5b779c1d29977d029af01
draw: use position not clipVertex output for xyz view volume clipping

I'm pretty sure this should use position (i.e. pre_clip_pos) and not
the output from clipVertex. Albeit piglit doesn't care. It is what we
use in the clip test, and it is what every other driver does (as they
don't even have clipVertex output and lower the additional planes to
clip distances).

Reviewed-by: Brian Paul <brianp@vmware.com
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_clip.c