diff options
author | Ben Skeggs <[email protected]> | 2008-06-16 22:24:16 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-06-29 15:46:19 +1000 |
commit | bb9efb5534a652878161e28bd73039eff5b11014 (patch) | |
tree | 298c27678a56fa1ef0d9b520cd0e1107f046e3c8 /src/gallium/drivers/nv50/nv50_vbo.c | |
parent | 94999d39d43d24a702f4cb55b515906d03a57277 (diff) |
nv50: separate state validation and upload, similar to nv40
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_vbo.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c index 7a1c2f24ef9..3f0b66ae365 100644 --- a/src/gallium/drivers/nv50/nv50_vbo.c +++ b/src/gallium/drivers/nv50/nv50_vbo.c @@ -208,9 +208,7 @@ nv50_vbo_validate(struct nv50_context *nv50) NOUVEAU_BO_LOW, 0, 0); } - so_emit(nv50->screen->nvws, vtxfmt); - so_ref (NULL, &vtxfmt); - so_emit(nv50->screen->nvws, vtxbuf); - so_ref (NULL, &vtxbuf); + so_ref (vtxfmt, &nv50->state.vtxfmt); + so_ref (vtxbuf, &nv50->state.vtxbuf); } |