nvc0: replace some vb->stride checks with constant_vbo instead
authorBen Skeggs <bskeggs@redhat.com>
Fri, 9 May 2014 05:55:51 +0000 (15:55 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 14 May 2014 23:54:21 +0000 (09:54 +1000)
commit322460fdbc9f966868e72649b12fbc95ab4cfd55
tree68dded7f0c9c5af20306d04424b31f738e82724b
parent9306c3470f0963b7bda47f01b64605f61e5e5c44
nvc0: replace some vb->stride checks with constant_vbo instead

Maxwell no longer has the methods to set constant attributes, and we'll
want to be treating stride 0 vtxbufs the same as for stride > 0.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c