st/mesa: don't check st->vp in update_clip
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Feb 2017 23:20:17 +0000 (00:20 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Feb 2017 23:03:09 +0000 (00:03 +0100)
commit1a36bea44594d02bd96e2961f62f5d432c62d52a
treed6e0c62a6ec2dc41b52559400ec28f4d1eaaf7ec
parentd17b8d08a3e51df7ff218adf54600b34fa015a4f
st/mesa: don't check st->vp in update_clip

The clip state is updated before VS, so it can be NULL for the first draw
call. Just remove the unnecessary dependency on st->vp.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_clip.c