u_vbuf: fix vb slot assignment for translated buffers
authorNicolai Hähnle <nhaehnle@gmail.com>
Sat, 3 Oct 2015 22:44:00 +0000 (00:44 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Mon, 12 Oct 2015 14:46:30 +0000 (16:46 +0200)
commit45ed627d894aa4d51682e8b07e7234bbc6e7c02d
treead3dc81a02a56edf2f642f6d5c27f9b8496b62b9
parent7a1143f29e477601f2b34b23d154edd5699352b1
u_vbuf: fix vb slot assignment for translated buffers

Vertex attributes of different categories (constant/per-instance/
per-vertex) go into different buffers for translation, and this is now
properly reflected in the vertex buffers passed to the driver.

Fixes e.g. piglit's point-vertex-id divisor test.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_vbuf.c