primconvert: select pv convention only from flatshade_first
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 7 Apr 2015 15:43:52 +0000 (11:43 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 18 Apr 2015 22:27:09 +0000 (18:27 -0400)
commit1cdb01d716cb8112c67f8538f7d71d0765153eb2
tree4f88f33064bf1c3570f93fbd38458cae04e2f9e3
parent0904774af1ff9202863e7c935ff9bc076d533fb3
primconvert: select pv convention only from flatshade_first

This should match to how drivers program hardware. flatshade relates to
whether color inputs are interpolated, not the provoking vertex
convention.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/indices/u_primconvert.c