From: Marek Olšák Date: Fri, 28 Oct 2011 10:37:54 +0000 (+0200) Subject: r600g: don't flush in r600_get_backend_mask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1de02d7364fe7a2ea51848e67b65144fe4a8c7f4;p=mesa.git r600g: don't flush in r600_get_backend_mask The winsys does the flush in buffer_map. --- diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index d6dce2c1fd7..f6609ce9692 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -88,9 +88,6 @@ void r600_get_backend_mask(struct r600_context *ctx) ctx->pm4[ctx->pm4_cdwords++] = PKT3(PKT3_NOP, 0, 0); ctx->pm4[ctx->pm4_cdwords++] = r600_context_bo_reloc(ctx, buffer, RADEON_USAGE_WRITE); - /* execute */ - r600_context_flush(ctx, 0); - /* analyze results */ results = ctx->screen->ws->buffer_map(buffer->buf, ctx->cs, PIPE_TRANSFER_READ); if (results) {