draw: rewrite primitive assembler
authorZack Rusin <zackr@vmware.com>
Thu, 8 Aug 2013 19:44:10 +0000 (15:44 -0400)
committerZack Rusin <zackr@vmware.com>
Fri, 9 Aug 2013 00:54:25 +0000 (20:54 -0400)
commit662a4d4a120cb0a07023f00e3c5e4a0809428a53
treead0d0a704411cdccb2a81ea0599209bb350f8077
parent1d425c4c6df2affd3b36b98e28357c59f7f02f58
draw: rewrite primitive assembler

We can't be injecting the primitive id's in the pipeline because
by that time the primitives have already been decomposed. To
properly number the primitives we need to handle the adjacency
primitives by hand. This patch moves the prim id injection into
the original primitive assembler and completely removes the
useless pipeline stage.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe.c
src/gallium/auxiliary/draw/draw_pipe.h
src/gallium/auxiliary/draw/draw_pipe_ia.c [deleted file]
src/gallium/auxiliary/draw/draw_pipe_validate.c
src/gallium/auxiliary/draw/draw_prim_assembler.c
src/gallium/auxiliary/draw/draw_prim_assembler.h
src/gallium/auxiliary/draw/draw_private.h