Mesa (master): r600g: remove debug code for streamout
Marek Olšák
mareko at kemper.freedesktop.org
Wed Jul 18 05:19:57 UTC 2012
Module: Mesa
Branch: master
Commit: 1cfb55c5098e17cd8e6188fc6382b393a9013e4c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cfb55c5098e17cd8e6188fc6382b393a9013e4c
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Jul 18 06:12:46 2012 +0200
r600g: remove debug code for streamout
---
src/gallium/drivers/r600/r600_hw_context.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index 4f0023c..017e60d 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
}
More information about the mesa-commit
mailing list