diff options
author | Kristian H. Kristensen <[email protected]> | 2019-01-24 11:38:51 -0800 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-02-11 12:26:21 -0800 |
commit | 24b4172375d29dd20363aeba0664486ea6f154f3 (patch) | |
tree | bb901bf9f2ca0e910b19ff5ff5d5c6f157319862 /src/gallium/drivers/freedreno | |
parent | a201cb157de43b405755520eb2a404d5066f9543 (diff) |
freedreno: Log number of draw for sysmem passes
Reviewed-by: Rob Clark <[email protected]>
Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |