summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_context.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2017-06-09 12:34:49 +0200
committerChristian Gmeiner <[email protected]>2017-06-16 15:28:12 +0200
commit82db591155ca2f79b522deaa5cd582fa0cf9461f (patch)
tree72994221550c45f84331f79f7f2b6560f1f48e2e /src/gallium/drivers/etnaviv/etnaviv_context.h
parent5065549e2a75e2a56cd3bc8b0fbb6c9013e86cb4 (diff)
etnaviv: add rs-operations sw query
It could be useful to get the number of emited resolve operations when doing driver optimizations. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_context.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_context.h b/src/gallium/drivers/etnaviv/etnaviv_context.h
index 2bb8cf51af2..2c9b24dfd43 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_context.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_context.h
@@ -174,6 +174,7 @@ struct etna_context {
struct {
uint64_t prims_emitted;
uint64_t draw_calls;
+ uint64_t rs_operations;
} stats;
struct pipe_debug_callback debug;