draw: Add flags to draw_prim_info.
authorChia-I Wu <olv@lunarg.com>
Sat, 7 Aug 2010 17:13:26 +0000 (01:13 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 16 Aug 2010 12:46:27 +0000 (20:46 +0800)
commitf141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9
tree36e900fbe2757548da72601242b05e3ccc57b6e9
parent9d4a0d7d4df3934cdefe4fe1118603e618d59831
draw: Add flags to draw_prim_info.

A primitive may be splitted in frontends.  The splitted primitives
should convey certain flag bits so that the decomposer can correctly
decide the stipple or edge flags.

This commit adds flags to draw_prim_info and updates the decomposer to
honor the flags.  Frontends and middle ends will be updated later.
src/gallium/auxiliary/draw/draw_decompose_tmp.h
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_gs_tmp.h
src/gallium/auxiliary/draw/draw_pipe.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
src/gallium/auxiliary/draw/draw_so_emit_tmp.h