summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-11-21 13:20:53 -0500
committerRob Clark <[email protected]>2017-12-17 12:41:32 -0500
commit2697480c923e4c811d9b9f11169de6be55ae38da (patch)
treee64b47ebe6aeaae2e1cd70889b6cf6aa2ac15933 /src/gallium/drivers/freedreno/freedreno_context.h
parentd848bee50faa98af493975c28377712c04d72277 (diff)
freedreno: track staging and shadow perf ctrs for the HUD
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.h1
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 2f501cf815b..d8d23ad8539 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.h
+++ b/src/gallium/drivers/freedreno/freedreno_context.h
@@ -216,6 +216,7 @@ struct fd_context {
uint64_t prims_generated;
uint64_t draw_calls;
uint64_t batch_total, batch_sysmem, batch_gmem, batch_restore;
+ uint64_t staging_uploads, shadow_uploads;
} stats;
/* Current batch.. the rule here is that you can deref ctx->batch