lavapipe: fix writing availability for queries.
authorDave Airlie <airlied@redhat.com>
Mon, 15 Mar 2021 06:56:48 +0000 (16:56 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Mar 2021 20:50:33 +0000 (06:50 +1000)
commit6865ec210bd7487bc889e2c94ed91a4f52ef0f8f
tree02ffd545b92242176c6caffea0deda23f38a01d2
parent774bbc299fdb0d8334a1c8d0e91dd5823a866381
lavapipe: fix writing availability for queries.

If the availability has to be written it needs to be written
 to the correct place.

The host query reset tests fall over this.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9594>
src/gallium/frontends/lavapipe/lvp_query.c