diff options
author | Brian <[email protected]> | 2008-01-27 12:01:47 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-28 11:31:57 -0700 |
commit | 2194675196260c0a5d44242d698b85c86f84074b (patch) | |
tree | 3f7a068a9b8de1bdeff24144f184eb1ca7813ab9 /src/mesa/pipe/cell/ppu/cell_context.c | |
parent | 16ed55c6412d2bdc5bff78e99114490223fb4afe (diff) |
Cell: generalize the batch buffer code for vertex buffers...
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_context.c')
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_context.c b/src/mesa/pipe/cell/ppu/cell_context.c index 8cb0c48f407..e8020a49bc3 100644 --- a/src/mesa/pipe/cell/ppu/cell_context.c +++ b/src/mesa/pipe/cell/ppu/cell_context.c @@ -254,8 +254,9 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws) cell_start_spus(cell); - for (buf = 0; buf < CELL_NUM_BATCH_BUFFERS; buf++) { - cell->batch_buffer_size[buf] = 0; + /* init command, vertex/index buffer info */ + for (buf = 0; buf < CELL_NUM_BUFFERS; buf++) { + cell->buffer_size[buf] = 0; /* init batch buffer status values, * mark 0th buffer as used, rest as free. |