r600g: remove debug code for streamout
authorMarek Olšák <maraeo@gmail.com>
Wed, 18 Jul 2012 04:12:46 +0000 (06:12 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 18 Jul 2012 04:25:37 +0000 (06:25 +0200)
src/gallium/drivers/r600/r600_hw_context.c

index 4f0023c6717809df44cd091aa1a32cec9807dcfa..017e60d20fd10233ae68fa3288f216d0a39403ae 100644 (file)
@@ -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
 }