summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-10-28 12:37:54 +0200
committerMarek Olšák <[email protected]>2011-10-28 19:29:05 +0200
commit1de02d7364fe7a2ea51848e67b65144fe4a8c7f4 (patch)
tree4c18ba117c8656cedc309dd17c7daf85002d6f4e /src/gallium/drivers/r600
parent6e79127e79e6ff80e3715a2190e437cfa92b4e96 (diff)
r600g: don't flush in r600_get_backend_mask
The winsys does the flush in buffer_map.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c3
1 files changed, 0 insertions, 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) {