draw: No need to make max_vertices even.
authorChia-I Wu <olv@lunarg.com>
Mon, 9 Aug 2010 17:05:25 +0000 (01:05 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 16 Aug 2010 13:04:24 +0000 (21:04 +0800)
commitaaf51ed7c24a5d9488f8225972e5d5d108c6c197
treefdb9a212e676d87ad05ecd2fb11504ba36c58672
parentc3fee80f2b35f6a7e48d6015bfc759c66b7e1a2c
draw: No need to make max_vertices even.

Triangle strip alternates the front/back orientation of its triangles.
max_vertices was made even so that varray never splitted a triangle
strip at the wrong positions.

It did not work with triangle strips with adjacencies.  And it is no
longer relevant with vsplit.
src/gallium/auxiliary/draw/draw_pipe_vbuf.c
src/gallium/auxiliary/draw/draw_pt_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c