Mesa (master): nv50: clear buffer status on all vertex bufs, not just the first one

Ilia Mirkin imirkin at kemper.freedesktop.org
Sun Sep 6 03:09:14 UTC 2015


Module: Mesa
Branch: master
Commit: 114cc18b98b6e016ab1986577aa3df12acc22cca
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=114cc18b98b6e016ab1986577aa3df12acc22cca

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jul  3 19:21:21 2015 -0400

nv50: clear buffer status on all vertex bufs, not just the first one

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org

---

 src/gallium/drivers/nouveau/nv50/nv50_vbo.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index ca51ea1..f35326d 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;
          }
       }
    }




More information about the mesa-commit mailing list