summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-01-22 02:57:28 +0100
committerMarek Olšák <[email protected]>2014-01-28 01:39:53 +0100
commit0932f0ff14ce02e35a1aad126c80fe329b92150d (patch)
treec72fa5511a1c22c1e9826372e4e9bf07721e0697 /src/gallium/drivers/radeonsi/si_buffer.c
parented42e95404a51298ea878a0d1cdcbc473612706a (diff)
radeonsi: inline si_upload_index_buffer
Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_buffer.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c
index 6b05c9f52b8..79944052689 100644
--- a/src/gallium/drivers/radeonsi/si_buffer.c
+++ b/src/gallium/drivers/radeonsi/si_buffer.c
@@ -35,13 +35,6 @@
#include "si.h"
#include "si_pipe.h"
-void si_upload_index_buffer(struct si_context *sctx,
- struct pipe_index_buffer *ib, unsigned count)
-{
- u_upload_data(sctx->b.uploader, 0, count * ib->index_size,
- ib->user_buffer, &ib->offset, &ib->buffer);
-}
-
void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer,
const uint8_t *ptr, unsigned size,
uint32_t *const_offset)