From edb1020ea5ac85a6216041281e784b2dbc9a35a2 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 9 May 2014 15:55:53 +1000 Subject: nvc0: restrict "constant vbo" logic to fermi/kepler classes Signed-off-by: Ben Skeggs Reviewed-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') 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); -- cgit v1.2.3