projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322460f
)
nvc0: restrict "constant vbo" logic to fermi/kepler classes
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 9 May 2014 05:55:53 +0000
(15:55 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 14 May 2014 23:54:25 +0000
(09:54 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
index 74f8a7630b4697f73923f86ad50f5ac539fa0fd8..27e5cd82d15be9b42143fcacf5f15239581eee92 100644
(file)
--- 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);