summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu/cell_batch.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-12 12:39:26 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-12 12:39:26 -0700
commitdae719a68173bddedbb531c030cd4a12bcb0435b (patch)
treecaea923b527e21313758977ab776d6db96313ab5 /src/mesa/pipe/cell/ppu/cell_batch.c
parent68f5a6f74335e252e6a04dd6ae9ef7ae1482be97 (diff)
Cell: first state object (depth/stencil/alpha) emitted to SPUs
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_batch.c')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_batch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_batch.c b/src/mesa/pipe/cell/ppu/cell_batch.c
index 7eb1b50ddb..45d49d0465 100644
--- a/src/mesa/pipe/cell/ppu/cell_batch.c
+++ b/src/mesa/pipe/cell/ppu/cell_batch.c
@@ -68,6 +68,7 @@ cell_batch_append(struct cell_context *cell, const void *cmd, uint length)
{
uint size;
+ assert(length % 4 == 0);
assert(cell->cur_batch >= 0);
size = cell->batch_buffer_size[cell->cur_batch];