summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/tri.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-10 21:35:13 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-10 21:35:13 -0700
commitc56b20971bfe554f2b9ba74c40b350f950bb31ff (patch)
treec82f6e459034a8f55b4177040677e7727cd3ef42 /src/mesa/pipe/cell/spu/tri.h
parent44f4b9b9ea81974a8e7de444280e471ca05e9261 (diff)
Cell: make vertex_header and prim_header types private to tri.c
Diffstat (limited to 'src/mesa/pipe/cell/spu/tri.h')
-rw-r--r--src/mesa/pipe/cell/spu/tri.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/mesa/pipe/cell/spu/tri.h b/src/mesa/pipe/cell/spu/tri.h
index bcb42852b2..f10c4077d3 100644
--- a/src/mesa/pipe/cell/spu/tri.h
+++ b/src/mesa/pipe/cell/spu/tri.h
@@ -30,23 +30,8 @@
#define TRI_H
-/**
- * Simplified types taken from other parts of Gallium
- */
-
-struct vertex_header {
- float data[2][4]; /* pos and color */
-};
-
-
-struct prim_header {
- struct vertex_header *v[3];
- uint color;
-};
-
-
extern void
-tri_draw(struct prim_header *tri, uint tx, uint ty);
+tri_draw(const float *v0, const float *v1, const float *v2, uint tx, uint ty);
#endif /* TRI_H */