summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/tri.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-10 21:22:03 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-10 21:22:03 -0700
commit44f4b9b9ea81974a8e7de444280e471ca05e9261 (patch)
tree734d82d216d900306ccc6b53e1d6b7d360aaaf9a /src/mesa/pipe/cell/spu/tri.c
parent02f6f9f8d47fc36c8edf4661c4e78c9c1a1941fc (diff)
Cell: avoid copying vertex data
Diffstat (limited to 'src/mesa/pipe/cell/spu/tri.c')
-rw-r--r--src/mesa/pipe/cell/spu/tri.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/pipe/cell/spu/tri.c b/src/mesa/pipe/cell/spu/tri.c
index f902bf2126..77f7052cd5 100644
--- a/src/mesa/pipe/cell/spu/tri.c
+++ b/src/mesa/pipe/cell/spu/tri.c
@@ -455,15 +455,9 @@ static void print_vertex(const struct setup_stage *setup,
static boolean setup_sort_vertices( struct setup_stage *setup,
const struct prim_header *prim )
{
-#if 0
const struct vertex_header *v0 = prim->v[0];
const struct vertex_header *v1 = prim->v[1];
const struct vertex_header *v2 = prim->v[2];
-#else
- const struct vertex_header *v0 = &prim->v[0];
- const struct vertex_header *v1 = &prim->v[1];
- const struct vertex_header *v2 = &prim->v[2];
-#endif
#if DEBUG_VERTS
fprintf(stderr, "Triangle:\n");