diff options
author | Keith Whitwell <[email protected]> | 2008-04-15 14:52:56 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-15 14:52:56 +0100 |
commit | 8cac6f3fcf9d6c08959efc20f8fce9eddbdcd0ef (patch) | |
tree | 163363e377e18fe59b8f3caed39f8ed432d1b3b0 /src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c | |
parent | 7eb6f130a1dfb8179ff371eb4e75b47d6ee45d2a (diff) |
draw: increment output vertex properly
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c index 889cab700c5..75bbcc8d413 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c @@ -250,14 +250,16 @@ static void fetch_pipeline_run( struct draw_pt_middle_end *middle, char *dest = out_buf + fpme->translate[j].output_offset; - /*debug_printf("emiting [%f, %f, %f, %f]\n", - attrib[0], attrib[1], - attrib[2], attrib[3]);*/ + if (0) + debug_printf("emiting [%f, %f, %f, %f]\n", + attrib[0], attrib[1], + attrib[2], attrib[3]); fpme->translate[j].emit(attrib, dest); } fpme->input_buf[0] += fpme->pipeline_vertex_size; + out_buf += fpme->hw_vertex_size; } draw->render->draw(draw->render, |