diff options
author | Marek Olšák <[email protected]> | 2013-06-30 14:53:03 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-07-08 20:25:18 +0200 |
commit | 141b892620f9407ffeecfbc931e5dd879e0388c6 (patch) | |
tree | 4b10c4b96f51213d710741926931bd4895001947 /src/gallium/drivers | |
parent | ae87aae0c4bcc448be3c965319b88f50b2d6fe36 (diff) |
r600g: don't flush the context in texture_transfer_map
the winsys does this automatically
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index c2feb521be3..5ad8c6521bf 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -923,11 +923,6 @@ static void *r600_texture_transfer_map(struct pipe_context *ctx, trans->transfer.layer_stride = staging->surface.level[0].slice_size; if (usage & PIPE_TRANSFER_READ) { r600_copy_to_staging_texture(ctx, trans); - /* flush gfx & dma ring, order does not matter as only one can be live */ - if (rctx->rings.dma.cs) { - rctx->rings.dma.flush(rctx, 0); - } - rctx->rings.gfx.flush(rctx, 0); } } else { /* the resource is mapped directly */ |