summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu/cell_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-11 12:04:55 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-11 12:04:55 -0700
commit08c2571fb48d41731c81cc402acabf709523c831 (patch)
tree48185f77bbc8416b30c5d4a4255c7d5b27c54e17 /src/mesa/pipe/cell/ppu/cell_context.h
parent7db94ba03173f345a47fd727e8d866a87a484415 (diff)
Cell: initial work for a hw-like batch buffer system
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_context.h')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_context.h b/src/mesa/pipe/cell/ppu/cell_context.h
index d7754d5d61..94d8f08da8 100644
--- a/src/mesa/pipe/cell/ppu/cell_context.h
+++ b/src/mesa/pipe/cell/ppu/cell_context.h
@@ -96,6 +96,11 @@ struct cell_context
uint num_spus;
+
+ ubyte batch_buffer_size[CELL_NUM_BATCH_BUFFERS];
+ ubyte batch_buffer[CELL_NUM_BATCH_BUFFERS][CELL_BATCH_BUFFER_SIZE] ALIGN16_ATTRIB;
+ int cur_batch; /**< which batch buffer is being filled */
+
};