draw: fix edgeflag handling on the pt paths
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 6 Apr 2008 13:29:30 +0000 (14:29 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 6 Apr 2008 13:31:41 +0000 (14:31 +0100)
commit5c19e47362c2d193850e98bd43a2bc2b783b0b5c
tree86dd3f231b1c79495d3c3a6ce6c851d03dae2550
parenta8ca54955322b34c77a7459246e5639d3f8610cd
draw: fix edgeflag handling on the pt paths

Encode edgeflags (and reset_stipple info) into the top two bits of the
fetch elements.  This info could be moved elsewhere, but for now we
can live with a 1<<30 maximum element size...

Also use the primitive decomposition code from draw_prim.c verbatim, as
it includes all this stuff and is known to work.
src/gallium/auxiliary/draw/draw_pt.h
src/gallium/auxiliary/draw/draw_pt_fetch_pipeline.c
src/gallium/auxiliary/draw/draw_pt_pipeline.c
src/gallium/auxiliary/draw/draw_pt_vcache.c