projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269fbeb
)
gallium: added EMIT_HEADER case
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:04:04 +0000
(17:04 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:04:04 +0000
(17:04 -0600)
src/gallium/auxiliary/draw/draw_vf.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_vf.c
b/src/gallium/auxiliary/draw/draw_vf.c
index 901ff20a7e7efaeb544c2136c1a2eca09d145159..4b5b2a86f6736aadd54c583f66994a4cd7ac4a27 100644
(file)
--- 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;