summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-18 06:12:46 +0200
committerMarek Olšák <[email protected]>2012-07-18 06:25:37 +0200
commit1cfb55c5098e17cd8e6188fc6382b393a9013e4c (patch)
tree2ff701416e500b7b01f54aa47a8b23e8f270b284
parentff9a49328e5d8b647aeb7511a01e5a41592a2799 (diff)
r600g: remove debug code for streamout
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c11
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 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
}