diff options
author | Ben Skeggs <[email protected]> | 2014-05-09 15:55:53 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2014-05-15 09:54:25 +1000 |
commit | edb1020ea5ac85a6216041281e784b2dbc9a35a2 (patch) | |
tree | d280915b00c8763e4613cd271d06d294e0cdffe9 /src/gallium/drivers/nouveau | |
parent | 322460fdbc9f966868e72649b12fbc95ab4cfd55 (diff) |
nvc0: restrict "constant vbo" logic to fermi/kepler classes
Signed-off-by: Ben Skeggs <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |