From 1de02d7364fe7a2ea51848e67b65144fe4a8c7f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 28 Oct 2011 12:37:54 +0200 Subject: [PATCH] r600g: don't flush in r600_get_backend_mask The winsys does the flush in buffer_map. --- src/gallium/drivers/r600/r600_hw_context.c | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.30.2