OSDN Git Service

st/mesa: add support for clip vertex.
authorDave Airlie <airlied@redhat.com>
Wed, 4 Jan 2012 11:49:26 +0000 (11:49 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 7 Jan 2012 08:36:25 +0000 (08:36 +0000)
commita103c61d278b7f56208818c4b949c408c00286fa
treec0643a892bbfe2775fc29cad9994f5953ec37112
parent9cea86f501eab1f72a148280c12286244cd26acf
st/mesa: add support for clip vertex.

We need to pass the pre-projection matrix clip planes into the driver,
instead of the post for the case we have a vertex shader that writes clip
vertex.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_atom_clip.c
src/mesa/state_tracker/st_program.c