From: Ben Skeggs Date: Fri, 9 May 2014 05:55:53 +0000 (+1000) Subject: nvc0: restrict "constant vbo" logic to fermi/kepler classes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edb1020ea5ac85a6216041281e784b2dbc9a35a2;p=mesa.git nvc0: restrict "constant vbo" logic to fermi/kepler classes Signed-off-by: Ben Skeggs Reviewed-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c index 74f8a7630b4..27e5cd82d15 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c @@ -949,7 +949,7 @@ nvc0_set_vertex_buffers(struct pipe_context *pipe, if (vb[i].user_buffer) { nvc0->vbo_user |= 1 << dst_index; - if (!vb[i].stride) + if (!vb[i].stride && nvc0->screen->eng3d->oclass < GM107_3D_CLASS) nvc0->constant_vbos |= 1 << dst_index; else nvc0->constant_vbos &= ~(1 << dst_index);