Mesa (master): r600g: do not flush the uploader

Marek Olšák mareko at kemper.freedesktop.org
Sun Feb 6 20:16:54 UTC 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Feb  6 21:12:19 2011 +0100

r600g: do not flush the uploader

---

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

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 45c0931..1c903a0 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -68,9 +68,6 @@ static void r600_flush(struct pipe_context *ctx, unsigned flags,
 	dc++;
 #endif
 	r600_context_flush(&rctx->ctx);
-
-	u_upload_flush(rctx->upload_vb);
-	u_upload_flush(rctx->upload_const);
 }
 
 static void r600_destroy_context(struct pipe_context *context)




More information about the mesa-commit mailing list