Browse Source

nv50: reset vbo_fifo before each validate

tags/mesa-7.9-rc1
Ben Skeggs 16 years ago
parent
commit
a899c5a76e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/drivers/nv50/nv50_vbo.c

+ 1
- 0
src/gallium/drivers/nv50/nv50_vbo.c View File

@@ -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;

Loading…
Cancel
Save