This is only written to, never read. Let's just get rid of it.
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
trans->offset = transfer->box.x;
}
- vctx->num_transfers++;
virgl_transfer_queue_unmap(&vctx->queue, trans);
} else
virgl_resource_destroy_transfer(&vctx->transfer_pool, trans);
u_upload_unmap(ctx->uploader);
/* send the buffer to the remote side for decoding */
- ctx->num_transfers = ctx->num_draws = ctx->num_compute = 0;
+ ctx->num_draws = ctx->num_compute = 0;
virgl_transfer_queue_clear(&ctx->queue, ctx->cbuf);
rs->vws->submit_cmd(rs->vws, ctx->cbuf, fence);
struct pipe_resource *ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS];
struct pipe_resource *images[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS];
- uint32_t num_transfers, num_draws, num_compute;
+ uint32_t num_draws, num_compute;
struct pipe_resource *atomic_buffers[PIPE_MAX_HW_ATOMIC_BUFFERS];
if (trans->base.usage & PIPE_TRANSFER_WRITE) {
if (!(transfer->usage & PIPE_TRANSFER_FLUSH_EXPLICIT)) {
struct virgl_screen *vs = virgl_screen(ctx->screen);
- vctx->num_transfers++;
if (trans->resolve_tmp) {
vs->vws->transfer_put(vs->vws, vtex->hw_res,