nv50: clear buffer status on all vertex bufs, not just the first one
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Jul 2015 23:21:21 +0000 (19:21 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Sep 2015 03:04:08 +0000 (23:04 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nv50/nv50_vbo.c

index ca51ea1dc7e02ca77b9621027acce26b1346e144..f35326d41989784ca45fd5193c226af4dcabd11f 100644 (file)
@@ -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;
          }
       }
    }