zink: make batch_usage_matches take a batch state param
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 7 May 2021 12:57:12 +0000 (08:57 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Jun 2021 02:45:45 +0000 (02:45 +0000)
commit1108db982e286d54afba4eff3b547da430dae13b
tree4687cb971333b500ce0d49becdf474466a2a0d50
parent6e0f552fd22cbeb12da9fac6f16a7ce71008ddde
zink: make batch_usage_matches take a batch state param

no functional changes, just some unwinding in some cases

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11399>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_batch.h
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_resource.c