diff options
author | Keith Whitwell <[email protected]> | 2008-04-04 13:18:09 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-04 13:19:26 +0100 |
commit | 0b20d1b9b5e0514a68ab460d748753d29df2e70b (patch) | |
tree | b5c687fd737bb82ff195605f7dceabb35f500568 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 9edac96d69b6f9942c170c573c9aba4c35550639 (diff) |
draw: move code to run pipeline from pt to new file
Add facility for draw_vbuf.c to reset these vertex ids on flushes.
Pre-initialize vertex ids correctly.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index d0d5f66b376..470c1c571b4 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -434,7 +434,8 @@ void draw_reset_vertex_ids(struct draw_context *draw) stage = stage->next; } - draw_vertex_cache_reset_vertex_ids(draw); + draw_vertex_cache_reset_vertex_ids(draw); /* going away soon */ + draw_pt_reset_vertex_ids(draw); } |