zink: pass batch instead of context for queries
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 21 May 2020 10:25:26 +0000 (12:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 20:20:49 +0000 (20:20 +0000)
commited1fd7bcc6f76b70ab63a6dbb1f0c9e073db84df
treefb82dd904197a73e5cd04fa754b8fc162552b086
parent43c691b5b0f1cfba9292b316f846ad932646f0e4
zink: pass batch instead of context for queries

This makes things a bit more consistent IMO.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5141>
src/gallium/drivers/zink/zink_query.c