aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_query.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-03-26 15:37:01 +1000
committerDave Airlie <[email protected]>2020-04-15 14:26:00 +1000
commit96e12ca7d77df365a96336561e32813818268c19 (patch)
tree55fd228d4bdcacb7334e380a4219143fdf8aa6bf /src/gallium/drivers/llvmpipe/lp_query.c
parent202bc38ce9e3e52cea1448f22882d17c7e5e9a90 (diff)
llvmpipe: report tessellation shader statistics.
Fixes KHR-GL45.pipeline_statistics_query_tests_ARB.functional_tess_queries Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_query.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_query.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_query.c b/src/gallium/drivers/llvmpipe/lp_query.c
index 75e3b47bfdb..c922caa8490 100644
--- a/src/gallium/drivers/llvmpipe/lp_query.c
+++ b/src/gallium/drivers/llvmpipe/lp_query.c
@@ -447,6 +447,10 @@ llvmpipe_end_query(struct pipe_context *pipe, struct pipe_query *q)
llvmpipe->pipeline_statistics.ps_invocations - pq->stats.ps_invocations;
pq->stats.cs_invocations =
llvmpipe->pipeline_statistics.cs_invocations - pq->stats.cs_invocations;
+ pq->stats.hs_invocations =
+ llvmpipe->pipeline_statistics.hs_invocations - pq->stats.hs_invocations;
+ pq->stats.ds_invocations =
+ llvmpipe->pipeline_statistics.ds_invocations - pq->stats.ds_invocations;
llvmpipe->active_statistics_queries--;
break;
case PIPE_QUERY_OCCLUSION_COUNTER: