Mesa (master): r600g: Remove a redundant flush in r600_texture_transfer_map ().

Henri Verbeet hverbeet at kemper.freedesktop.org
Sun Sep 19 17:43:57 UTC 2010


Module: Mesa
Branch: master
Commit: de9c8015eb30bf8a7e8571e7ca85e985173b0695
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de9c8015eb30bf8a7e8571e7ca85e985173b0695

Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sun Sep 19 19:27:30 2010 +0200

r600g: Remove a redundant flush in r600_texture_transfer_map().

radeon_ws_bo_map() will already take care of that if needed.

---

 src/gallium/drivers/r600/r600_texture.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 274679d..b7a12ed 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -325,7 +325,6 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
 	char *map;
 	int r;
 
-	ctx->flush(ctx, 0, NULL);
 	if (rtransfer->linear_texture) {
 		bo = ((struct r600_resource *)rtransfer->linear_texture)->bo;
 	} else {




More information about the mesa-commit mailing list