summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2010-03-15 16:52:25 +1000
committerBen Skeggs <[email protected]>2010-03-15 16:53:46 +1000
commita899c5a76ee056e237b19d97afaadd84bca9649f (patch)
treed91f0c31cd0568d14b46544080b218c50595c037
parent9b3a908736130a62d79305586364f625a88a69ee (diff)
nv50: reset vbo_fifo before each validate
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index 6b9c1ee231e..50472868063 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -549,6 +549,7 @@ nv50_vbo_validate(struct nv50_context *nv50)
if (nv50->vtxbuf_nr == 0)
return NULL;
+ nv50->vbo_fifo = 0;
if (nv50->screen->force_push ||
nv50->vertprog->cfg.edgeflag_in < 16)
nv50->vbo_fifo = 0xffff;