freedreno: Remove the "active" member of queries.
authorEric Anholt <eric@anholt.net>
Fri, 27 Mar 2020 23:48:05 +0000 (16:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 21:35:21 +0000 (21:35 +0000)
commita99ff933748a7ad00f9fcb5cb0dde536c3bef149
tree4ac0e355ba2f5d9cb6c1d51166b6e670f39033db
parentb7fe793869e1f9b0a8013c5c5e161122e326540e
freedreno: Remove the "active" member of queries.

The state tracker only gets to begin/query/destroy when !active and end
when active, so we have no need to try to track this ourselves.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4356>
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query.h
src/gallium/drivers/freedreno/freedreno_query_acc.c
src/gallium/drivers/freedreno/freedreno_query_hw.c