From: Kristian H. Kristensen Date: Thu, 24 Jan 2019 19:38:51 +0000 (-0800) Subject: freedreno: Log number of draw for sysmem passes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24b4172375d29dd20363aeba0664486ea6f154f3;p=mesa.git freedreno: Log number of draw for sysmem passes Reviewed-by: Rob Clark Signed-off-by: Kristian H. Kristensen --- diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index be82a1eed87..41fc1d0a0d4 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -443,10 +443,11 @@ fd_gmem_render_tiles(struct fd_batch *batch) DBG("%p: rendering non-draw", batch); ctx->stats.batch_nondraw++; } else if (sysmem) { - DBG("%p: rendering sysmem %ux%u (%s/%s)", + DBG("%p: rendering sysmem %ux%u (%s/%s), num_draws=%u", batch, pfb->width, pfb->height, util_format_short_name(pipe_surface_format(pfb->cbufs[0])), - util_format_short_name(pipe_surface_format(pfb->zsbuf))); + util_format_short_name(pipe_surface_format(pfb->zsbuf)), + batch->num_draws); if (ctx->query_prepare) ctx->query_prepare(batch, 1); render_sysmem(batch);