summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-04-11 20:53:13 -0400
committerRob Clark <[email protected]>2016-04-13 14:15:47 -0400
commit0a4b0fc3154f4e3f926dcd5f2effe199c9fc6754 (patch)
tree8fc34f5bec4d74ee854852988bbf52499a1ee958 /src/gallium/drivers/freedreno/freedreno_context.h
parenta7eb12d089e1a7f8a311c46aa6aed5dccdeb04ec (diff)
freedreno: fix prims-emitted query
This should only count when TF is not paused. 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 85ce97c16b7..86992960960 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.h
+++ b/src/gallium/drivers/freedreno/freedreno_context.h
@@ -241,6 +241,7 @@ struct fd_context {
*/
struct {
uint64_t prims_emitted;
+ uint64_t prims_generated;
uint64_t draw_calls;
uint64_t batch_total, batch_sysmem, batch_gmem, batch_restore;
} stats;