summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-02-10 13:18:13 +0100
committerBen Skeggs <[email protected]>2012-04-14 02:56:32 +1000
commita3fee8fc86168f0709a164d9d983b40a9b671b3c (patch)
tree967bd85158a24fa5f6b8f5d64e43520e9f935a80 /src/gallium/drivers/nv50/nv50_vbo.c
parent66c7dc5688bcd5ff9c596f4c410aee574ea2428a (diff)
nouveau: remove automatic buffer migration heuristics
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index ef01e61172d..cb3ea382f3d 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -219,7 +219,6 @@ nv50_prevalidate_vbufs(struct nv50_context *nv50)
}
}
nv50_bufctx_add_resident(nv50, NV50_BUFCTX_VERTEX, buf, NOUVEAU_BO_RD);
- nouveau_buffer_adjust_score(&nv50->base, buf, 1);
}
}
@@ -541,8 +540,6 @@ nv50_draw_elements(struct nv50_context *nv50, boolean shorten,
start += nv50->idxbuf.offset >> (index_size >> 1);
- nouveau_buffer_adjust_score(&nv50->base, res, 1);
-
while (instance_count--) {
BEGIN_RING(chan, RING_3D(VERTEX_BEGIN_GL), 1);
OUT_RING (chan, mode);