From: Brian Date: Fri, 11 Jan 2008 04:50:31 +0000 (-0700) Subject: Cell: remove unused color field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea190f4b41d8959aa3edfd46503a3077201cdefd;p=mesa.git Cell: remove unused color field --- diff --git a/src/mesa/pipe/cell/spu/tri.c b/src/mesa/pipe/cell/spu/tri.c index 52e48e3dd26..a4fcb71d202 100644 --- a/src/mesa/pipe/cell/spu/tri.c +++ b/src/mesa/pipe/cell/spu/tri.c @@ -48,7 +48,6 @@ struct vertex_header { struct prim_header { struct vertex_header *v[3]; - uint color; }; @@ -131,9 +130,6 @@ struct setup_stage { #if 0 struct quad_header quad; #endif -#if 1 - uint color; -#endif struct { int left[2]; /**< [0] = row0, [1] = row1 */ @@ -832,12 +828,6 @@ static void subtriangle( struct setup_stage *setup, static void setup_tri(struct setup_stage *setup, struct prim_header *prim) { - setup->color = prim->color; /* XXX temporary */ - - /* - _mesa_printf("%s\n", __FUNCTION__ ); - */ - if (!setup_sort_vertices( setup, prim )) { return; /* totally clipped */ }