softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
authorBrian Paul <brianp@vmware.com>
Thu, 4 Jun 2009 19:13:14 +0000 (13:13 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 4 Jun 2009 19:13:14 +0000 (13:13 -0600)
commit9424d81d18770f0c436f0876dffe07cf7c094db4
treede2e8e998850ff78014a8a88fcd3c9687ae56509
parent6907650211d136ee7cb5a8914c32196d35a75bf3
softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()

Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.

(cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
src/gallium/drivers/softpipe/sp_prim_vbuf.c