summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-13 17:04:04 -0600
committerBrian <[email protected]>2008-03-13 17:04:04 -0600
commitcf106789abd4a84e8f07dc6ca12d2261e9bf92cd (patch)
treeb850633667687f58c842d11eb1b6ad2dd0ae38c0 /src
parent269fbeb5459952532f5d188dd3653fa6b7425cfe (diff)
gallium: added EMIT_HEADER case
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_vf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vf.c b/src/gallium/auxiliary/draw/draw_vf.c
index 901ff20a7e7..4b5b2a86f67 100644
--- a/src/gallium/auxiliary/draw/draw_vf.c
+++ b/src/gallium/auxiliary/draw/draw_vf.c
@@ -263,6 +263,10 @@ void draw_vf_set_vertex_info( struct draw_vertex_fetch *vf,
}
break;
}
+ case EMIT_HEADER:
+ /* XXX emit new DRAW_EMIT_HEADER attribute??? */
+ count += sizeof(struct vertex_header) / 4;
+ break;
case EMIT_1F:
attrs[nr_attrs].attrib = j;
attrs[nr_attrs].format = DRAW_EMIT_1F;