aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/cell/ppu/cell_render.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-01-02 19:05:34 -0700
committerBrian <[email protected]>2008-01-02 19:05:34 -0700
commit54090bd841b302c6d48e7f130dbe07c8fd5a0a96 (patch)
tree4f455b1e3347f094bc817b515b9f315198f8a469 /src/mesa/pipe/cell/ppu/cell_render.c
parentd55c4ec9d2c0a8cd9ba75985962297381e6c0364 (diff)
only fetch as much vertex data as needed
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_render.c')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_render.c b/src/mesa/pipe/cell/ppu/cell_render.c
index 672406aa234..b97f4ff5368 100644
--- a/src/mesa/pipe/cell/ppu/cell_render.c
+++ b/src/mesa/pipe/cell/ppu/cell_render.c
@@ -155,6 +155,7 @@ cell_flush_prim_buffer(struct cell_context *cell)
struct cell_command_render *render = &cell_global.command[i].render;
render->prim_type = PIPE_PRIM_TRIANGLES;
render->num_verts = cell->prim_buffer.num_verts;
+ render->num_attribs = CELL_MAX_ATTRIBS;
render->xmin = cell->prim_buffer.xmin;
render->ymin = cell->prim_buffer.ymin;
render->xmax = cell->prim_buffer.xmax;