From: Brian Date: Thu, 10 Jan 2008 22:13:14 +0000 (-0700) Subject: Cell: call draw_compute_vertex_size() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2da5afbd3ffd50409fc729e166fe5133c7a7e7a8;p=mesa.git Cell: call draw_compute_vertex_size() --- diff --git a/src/mesa/pipe/cell/ppu/cell_state_derived.c b/src/mesa/pipe/cell/ppu/cell_state_derived.c index ee7c0204b8b..ec3a8f3a811 100644 --- a/src/mesa/pipe/cell/ppu/cell_state_derived.c +++ b/src/mesa/pipe/cell/ppu/cell_state_derived.c @@ -159,7 +159,8 @@ static void calculate_vertex_layout( struct cell_context *cell ) if (1/*vinfo->attr_mask != cell->attr_mask*/) { /*cell->attr_mask = vinfo->attr_mask;*/ - draw_set_vertex_info( cell->draw, vinfo); + draw_compute_vertex_size(vinfo); + draw_set_vertex_info(cell->draw, vinfo); #if 0 draw_set_twoside_attributes(cell->draw,