diff options
author | Rob Clark <[email protected]> | 2018-06-25 08:47:55 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-07-18 10:10:44 -0400 |
commit | 97a9283f5dbbc78d48d6b0a21fdcab991328bc0f (patch) | |
tree | 51c5720c03e4887ac49e2c3743b38afd0fd618f6 /src/gallium/drivers/freedreno/freedreno_context.h | |
parent | 8dfc9e22c12ff840510d876b09d7f7163256bb17 (diff) |
freedreno: register usage queries
Avg number of (half) regs per draw, so we can corrolate fps dips to
shader register usage.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index b81cbd052f5..bc7ff6193fa 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -219,6 +219,7 @@ struct fd_context { uint64_t draw_calls; uint64_t batch_total, batch_sysmem, batch_gmem, batch_nondraw, batch_restore; uint64_t staging_uploads, shadow_uploads; + uint64_t vs_regs, fs_regs; } stats; /* Current batch.. the rule here is that you can deref ctx->batch |