nvc0: avoid crashing when there are holes in vertex array bindings
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Jan 2016 01:28:12 +0000 (20:28 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Jan 2016 03:10:42 +0000 (22:10 -0500)
commit438d421f8bb3f65402701628c3504c0ad04184c0
tree7f19fa5990721611051b785019f334c20cdd9d23
parent899b1b98a4ab094456632e08ce01ffb106519012
nvc0: avoid crashing when there are holes in vertex array bindings

When using the "shared" vertex array configuration strategy, we bind
each of the buffers as a separate array. However there can be holes in
such vertex buffer lists, so just emit a disable for those.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c