From: Marek Olšák Date: Wed, 18 Jul 2012 04:12:46 +0000 (+0200) Subject: r600g: remove debug code for streamout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cfb55c5098e17cd8e6188fc6382b393a9013e4c;p=mesa.git r600g: remove debug code for streamout --- diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index 4f0023c6717..017e60d20fd 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1356,15 +1356,4 @@ void r600_context_streamout_end(struct r600_context *ctx) r600_atom_dirty(ctx, &ctx->surface_sync_cmd.atom); ctx->num_cs_dw_streamout_end = 0; - -#if 0 - for (i = 0; i < ctx->num_so_targets; i++) { - if (!t[i]) - continue; - - uint32_t *ptr = ctx->ws->buffer_map(t[i]->filled_size->buf, ctx->cs, RADEON_USAGE_READ); - printf("FILLED_SIZE%i: %u\n", i, *ptr); - ctx->ws->buffer_unmap(t[i]->filled_size->buf); - } -#endif }