i965: fix EXT_provoking_vertex support
authorRoland Scheidegger <sroland@vmware.com>
Thu, 12 Nov 2009 01:57:56 +0000 (17:57 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 12 Nov 2009 01:57:56 +0000 (17:57 -0800)
commitab12e764ba3f57ad9f0d7252262cfc6e07839928
treeeb28587f848d3a70dad5816708667c5c4d7181d9
parent1220aba99bc78290bb89ade649719508e3031e4b
i965: fix EXT_provoking_vertex support

This didn't work for quad/quadstrips at all, and for all other primitive types
it only worked when they were unclipped.
Fix up the former in gs stage (could probably do without these changes and
instead set QuadsFollowProvokingVertexConvention to false), and the rest in
clip stage.
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_clip.h
src/mesa/drivers/dri/i965/brw_clip_line.c
src/mesa/drivers/dri/i965/brw_clip_tri.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_gs.h
src/mesa/drivers/dri/i965/brw_gs_emit.c
src/mesa/drivers/dri/i965/brw_sf_state.c