gallium: split long prims into chunks with an even number of vertices
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 20:50:35 +0000 (14:50 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 20:55:12 +0000 (14:55 -0600)
commit7d7f3e2c9451b2233c196d82d523c50b5d2616cc
tree74d0cb7a84b4e353d09d71dbf515cc472a04bc89
parentb623fa9e2d6f97f9febc978c158d790b26e175a7
gallium: split long prims into chunks with an even number of vertices

This fixes culling "parity" errors when splitting long tri strips.  Splitting
strips into chunks with an odd number of vertices causes front/back-face
orientation to get reversed and upsets culling.
src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
src/gallium/auxiliary/draw/draw_pt_varray.c