Fixes KHR-GL45.pipeline_statistics_query_tests_ARB.functional_tess_queries
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
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:
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;