cell: Additional changes to match changes in draw/draw_vertex_shader.c

This commit is contained in:
Ian Romanick 2008-02-25 16:15:59 -08:00
parent 2efa7e9489
commit 2fc9d0ffac
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}