r600g: remove more of unused code
authorMarek Olšák <maraeo@gmail.com>
Thu, 4 Aug 2011 01:23:12 +0000 (03:23 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 4 Aug 2011 01:25:18 +0000 (03:25 +0200)
This is a follow-up to f6df430a85141f6a384c18079fb5b2ad848dac0d.

src/gallium/drivers/r600/r600_pipe.c

index 615f0688eb3e2d1bb38a4facd5c0391293b6d1f5..5159ba350e42ddb8d6d51ad6829fe07c54232e6d 100644 (file)
@@ -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);
 }