softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON
authorBrian Paul <brianp@vmware.com>
Thu, 28 May 2009 01:27:31 +0000 (19:27 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 28 May 2009 01:27:31 +0000 (19:27 -0600)
commit5d75124db480b37977c353511b4e228905b7cc95
treeb44c38ba4c4467ad7230446826cfc08a7667bc9e
parentc13bd7488593263f2c45c136b63114ce8b4602fb
softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON

Use the first vertex, not the last.
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/softpipe/sp_setup.c