summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_query.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_query.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_query.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query.h b/src/gallium/drivers/etnaviv/etnaviv_query.h
index 9a8d579e184..cebd66238e0 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_query.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_query.h
@@ -54,6 +54,7 @@ etna_query(struct pipe_query *pq)
}
#define ETNA_QUERY_DRAW_CALLS (PIPE_QUERY_DRIVER_SPECIFIC + 0)
+#define ETNA_QUERY_RS_OPERATIONS (PIPE_QUERY_DRIVER_SPECIFIC + 1)
void
etna_query_screen_init(struct pipe_screen *pscreen);