projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e79127
)
r600g: don't flush in r600_get_backend_mask
author
Marek Olšák
<maraeo@gmail.com>
Fri, 28 Oct 2011 10:37:54 +0000
(12:37 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 28 Oct 2011 17:29:05 +0000
(19:29 +0200)
The winsys does the flush in buffer_map.
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index d6dce2c1fd7dd3bf2d3acfcac2dd540c6f8ab312..f6609ce9692868a6881f91a4cbda4b09339d2ba4 100644
(file)
--- 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) {