summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-07-03 19:21:21 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2015-09-05 23:04:08 -0400
commit114cc18b98b6e016ab1986577aa3df12acc22cca (patch)
tree26fd44549e10203cf683fe7213311ea87510e779
parent75e34d1df8b0ab56e5e658b8ef90ff6057ec954e (diff)
nv50: clear buffer status on all vertex bufs, not just the first one
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: mesa-stable@lists.freedesktop.org
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_vbo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index ca51ea1dc7..f35326d419 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
@@ -317,7 +317,6 @@ nv50_vertex_arrays_validate(struct nv50_context *nv50)
if (buf && buf->status & NOUVEAU_BUFFER_STATUS_GPU_WRITING) {
buf->status &= ~NOUVEAU_BUFFER_STATUS_GPU_WRITING;
nv50->base.vbo_dirty = true;
- break;
}
}
}