diff options
author | Marek Olšák <[email protected]> | 2012-04-26 12:12:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-29 14:48:45 +0200 |
commit | 63ca2eda1374cd0754ed7e209508f2b80c38b488 (patch) | |
tree | afb1b3941ab88fc641024750bbe0e466427c88d9 /src/gallium | |
parent | c69248fa3fdd2cad86166ea1d21b88dfda155d17 (diff) |
radeonsi: make r600_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_buffer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_buffer.c b/src/gallium/drivers/radeonsi/r600_buffer.c index df30ee5bb87..912c4ebcdc9 100644 --- a/src/gallium/drivers/radeonsi/r600_buffer.c +++ b/src/gallium/drivers/radeonsi/r600_buffer.c @@ -89,13 +89,7 @@ static void *r600_buffer_transfer_map(struct pipe_context *pipe, static void r600_buffer_transfer_unmap(struct pipe_context *pipe, struct pipe_transfer *transfer) { - struct r600_resource *rbuffer = r600_resource(transfer->resource); - struct r600_context *rctx = (struct r600_context*)pipe; - - if (rbuffer->b.b.user_ptr) - return; - - rctx->ws->buffer_unmap(rbuffer->cs_buf); + /* no-op */ } static void r600_buffer_transfer_flush_region(struct pipe_context *pipe, |