diff options
author | Ian Romanick <[email protected]> | 2008-02-25 16:15:59 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2008-02-25 16:18:08 -0800 |
commit | 2fc9d0ffac4b44dad1f13443e5dedd545675a7ee (patch) | |
tree | 799fb7d99c8441212b54ee676401141466f6aa51 /src | |
parent | 2efa7e9489541b6a86c3d46e3d58cbf5bf399189 (diff) |
cell: Additional changes to match changes in draw/draw_vertex_shader.c
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_vertex_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_vertex_shader.c b/src/gallium/drivers/cell/ppu/cell_vertex_shader.c index 17141924be8..f5c27852c14 100644 --- a/src/gallium/drivers/cell/ppu/cell_vertex_shader.c +++ b/src/gallium/drivers/cell/ppu/cell_vertex_shader.c @@ -127,7 +127,7 @@ cell_vertex_shader_queue_flush(struct draw_context *draw) for (/* empty */; j < SPU_VERTS_PER_BATCH; j++) { vs->elts[j] = vs->elts[0]; - vs->vOut[j] = vs->vOut[0]; + vs->vOut[j] = (uintptr_t) draw->vs.queue[i + j].vertex; } vs->num_elts = n; @@ -136,5 +136,6 @@ cell_vertex_shader_queue_flush(struct draw_context *draw) cell_flush_int(& cell->pipe, PIPE_FLUSH_WAIT); } + draw->vs.post_nr = draw->vs.queue_nr; draw->vs.queue_nr = 0; } |