summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_query.c
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_query.c
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_query.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_query.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query.c b/src/gallium/drivers/etnaviv/etnaviv_query.c
index b33e5804632..617e47562d6 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_query.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_query.c
@@ -84,6 +84,7 @@ etna_get_driver_query_info(struct pipe_screen *pscreen, unsigned index,
struct pipe_driver_query_info list[] = {
{"prims-emitted", PIPE_QUERY_PRIMITIVES_EMITTED, { 0 }},
{"draw-calls", ETNA_QUERY_DRAW_CALLS, { 0 }},
+ {"rs-operations", ETNA_QUERY_RS_OPERATIONS, { 0 }},
};
if (!info)