diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-15 18:56:41 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-21 19:17:27 +0000 |
commit | 30479ef11004c9498c4ef09048efc56227f104cc (patch) | |
tree | a6dd92bd2d0ce3a0fad0b24860c55013cffb0eca /src/gallium/auxiliary/draw/draw_prim.c | |
parent | 1eaf7b775ba0dacff8a3debd7c0f260970e5a61d (diff) |
draw: vertex cache rework
Take a baby step to straightening out vertex paths.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_prim.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_prim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c index dd9a848863..7d6cd43410 100644 --- a/src/gallium/auxiliary/draw/draw_prim.c +++ b/src/gallium/auxiliary/draw/draw_prim.c @@ -114,6 +114,7 @@ static void draw_prim_queue_flush( struct draw_context *draw ) } draw->pq.queue_nr = 0; + draw->vs.post_nr = 0; draw_vertex_cache_unreference( draw ); } @@ -226,6 +227,7 @@ static void do_triangle( struct draw_context *draw, { struct prim_header *prim = get_queued_prim( draw, 3 ); +// _mesa_printf("tri %d %d %d\n", i0, i1, i2); prim->reset_line_stipple = 1; prim->edgeflags = ~0; prim->pad = 0; |