diff options
author | Marek Olšák <[email protected]> | 2012-10-17 17:01:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-18 22:54:53 +0200 |
commit | e5a9bf55231aa14f6ae831a5c47d7176cb6c230b (patch) | |
tree | 8be068132ad146182648292903a048ee5d2b048c /src/gallium/drivers/r600 | |
parent | 0da72d3502ecc48e9189ebc4cbea446f79ccb61d (diff) |
gallium: remove unused data pointer from pipe_transfer
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 55715949646..25263f3b013 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -870,7 +870,6 @@ void *r600_compute_global_transfer_map( transfer->box = *box; transfer->stride = 0; transfer->layer_stride = 0; - transfer->data = NULL; assert(transfer->resource->target == PIPE_BUFFER); assert(transfer->resource->bind & PIPE_BIND_GLOBAL); diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index 90ab2475d75..f4566eeb9aa 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -77,7 +77,6 @@ static void *r600_buffer_get_transfer(struct pipe_context *ctx, transfer->transfer.box = *box; transfer->transfer.stride = 0; transfer->transfer.layer_stride = 0; - transfer->transfer.data = NULL; transfer->staging = NULL; transfer->offset = 0; transfer->staging = staging; |