From: Marek Olšák Date: Thu, 4 Aug 2011 01:23:12 +0000 (+0200) Subject: r600g: remove more of unused code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=babb26776fadb683be9dacb492efcdc455b176ab;p=mesa.git r600g: remove more of unused code This is a follow-up to f6df430a85141f6a384c18079fb5b2ad848dac0d. --- diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 615f0688eb3..5159ba350e4 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); }