From: Ilia Mirkin Date: Fri, 3 Jul 2015 23:21:21 +0000 (-0400) Subject: nv50: clear buffer status on all vertex bufs, not just the first one X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=114cc18b98b6e016ab1986577aa3df12acc22cca;p=mesa.git nv50: clear buffer status on all vertex bufs, not just the first one Signed-off-by: Ilia Mirkin Cc: mesa-stable@lists.freedesktop.org --- diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c index ca51ea1dc7e..f35326d4198 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; } } }