draw: don't pretend have_clipdist is per-vertex
authorRoland Scheidegger <sroland@vmware.com>
Fri, 11 Dec 2015 22:14:30 +0000 (23:14 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 15 Dec 2015 01:03:40 +0000 (02:03 +0100)
commit1b22815af624b93bcfebc8069598349e151bc67f
treefa4fde30a80b834888d2804629b0ff524a97bf2e
parent9e3f2af3c3732bd618308ddeffb017966a4fc93e
draw: don't pretend have_clipdist is per-vertex

This is just for code cleanup, conceptually the have_clipdist really
isn't per-vertex state, so don't put it there (just dependent on the
shader). Even though there wasn't really any overhead associated with
this, we shouldn't store random shader information in the vertex header.

Reviewed-by: Brian Paul <brianp@vmware.com
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_cliptest_tmp.h
src/gallium/auxiliary/draw/draw_llvm.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