aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_vbuf.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_setup_vbuf.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_setup_vbuf.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_vbuf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c b/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
index a400d79fb87..cfd7bdc6a45 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
@@ -571,6 +571,10 @@ lp_setup_pipeline_statistics(
stats->gs_invocations;
llvmpipe->pipeline_statistics.gs_primitives +=
stats->gs_primitives;
+ llvmpipe->pipeline_statistics.hs_invocations +=
+ stats->hs_invocations;
+ llvmpipe->pipeline_statistics.ds_invocations +=
+ stats->ds_invocations;
if (!setup->rasterizer_discard) {
llvmpipe->pipeline_statistics.c_invocations +=
stats->c_invocations;