Mesa (master): r600g: remove more of unused code

Marek Olšák mareko at kemper.freedesktop.org
Thu Aug 4 01:26:23 UTC 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Aug  4 03:23:12 2011 +0200

r600g: remove more of unused code

This is a follow-up to f6df430a85141f6a384c18079fb5b2ad848dac0d.

---

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

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 615f068..5159ba3 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -119,22 +119,9 @@ static void r600_flush(struct pipe_context *ctx,
 	struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
 	struct r600_fence **rfence = (struct r600_fence**)fence;
 
-#if 0
-	static int dc = 0;
-	char dname[256];
-#endif
-
 	if (rfence)
 		*rfence = r600_create_fence(rctx);
 
-#if 0
-	sprintf(dname, "gallium-%08d.bof", dc);
-	if (dc < 20) {
-		r600_context_dump_bof(&rctx->ctx, dname);
-		R600_ERR("dumped %s\n", dname);
-	}
-	dc++;
-#endif
 	r600_context_flush(&rctx->ctx);
 }
 




More information about the mesa-commit mailing list