summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-02 03:01:01 +0200
committerMarek Olšák <[email protected]>2012-04-04 13:09:47 +0200
commit34e53adc51ade8d53d74b6ae35bec90f1a6b9b29 (patch)
treee976d56da43c22131ac5a2df2586ffcb979b5115 /src/gallium/drivers/r600/r600_buffer.c
parente9abb2cd6e93681504fbcf323c790e3950304734 (diff)
r600g: inline r600_upload_index_buffer
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r--src/gallium/drivers/r600/r600_buffer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c
index b165c319de4..4708d0154ca 100644
--- a/src/gallium/drivers/r600/r600_buffer.c
+++ b/src/gallium/drivers/r600/r600_buffer.c
@@ -257,12 +257,3 @@ struct pipe_resource *r600_user_buffer_create(struct pipe_screen *screen,
rbuffer->buf = NULL;
return &rbuffer->b.b.b;
}
-
-void r600_upload_index_buffer(struct r600_context *rctx,
- struct pipe_index_buffer *ib, unsigned count)
-{
- struct r600_resource *rbuffer = r600_resource(ib->buffer);
-
- u_upload_data(rctx->vbuf_mgr->uploader, 0, count * ib->index_size,
- rbuffer->b.user_ptr, &ib->offset, &ib->buffer);
-}