projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6059eca
)
Cell: remove unused color field
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 11 Jan 2008 04:50:31 +0000
(21:50 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 11 Jan 2008 04:50:31 +0000
(21:50 -0700)
src/mesa/pipe/cell/spu/tri.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/cell/spu/tri.c
b/src/mesa/pipe/cell/spu/tri.c
index 52e48e3dd264f5e24be2c6f49ae31f7f44c8e35e..a4fcb71d20245ff851482e6c80f06684fa53213b 100644
(file)
--- 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 */
}