43773fdda7
We were not initializing the PS invocation count to zero before computing the sum of the per-thread results. This fixes an issue where querying the result of the query more than once would cause the result to grow larger each time. Signed-off-by: Brian Paul <brianp@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22281>