u_vbuf: translate per-vertex, per-instance, and constant attribs separately
authorMarek Olšák <maraeo@gmail.com>
Sun, 1 Jan 2012 19:27:40 +0000 (20:27 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 5 Jan 2012 17:29:11 +0000 (18:29 +0100)
commit5968e4068cdcb0551f1c519f236560bb44ea659e
treecb9b4aec20f6c5d37be373e62b2b060eed523070
parentdbd60d27e8087a3bacf36d4eceef15dc4fcdccee
u_vbuf: translate per-vertex, per-instance, and constant attribs separately

We don't wanna convert per-instance or constant (zero-stride) attribs into
ordinary vertex attribs.

More importantly, the translation of instance attribs now finally works.
src/gallium/auxiliary/util/u_vbuf.c