swr: fix provoking vertex
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 1 Jun 2016 14:56:26 +0000 (09:56 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 7 Jun 2016 16:47:52 +0000 (11:47 -0500)
commit87f0a0448fba898a7ab2a36eed9682ff8c1c6d5c
tree0b58bdbd4f96ec9c25a91e900bb4d916d448f40c
parentc81b090c920f90bf86a34c978e10ff336d1edbc0
swr: fix provoking vertex

Use rasterizer provoking vertex API.

Fix rasterizer provoking vertex for tristrips and quad list/strips.

v2: make provoking vertex tables static const

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/frontend.cpp
src/gallium/drivers/swr/swr_draw.cpp
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_shader.h
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/swr/swr_state.h