mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
r600g: make r600_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.
This commit is contained in:
parent
498e71c156
commit
c69248fa3f
1 changed files with 1 additions and 7 deletions
|
|
@ -139,13 +139,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_transfer_destroy(struct pipe_context *ctx,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue