zink: rebind resources for export as needed
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 29 Apr 2022 15:02:55 +0000 (11:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 May 2022 01:30:38 +0000 (01:30 +0000)
commit4eeabb59f59bf98f7db69754a00e4ba2452dea9f
tree9045e1c66278bc150aff77f0f6868f7d188b993e
parent4a19ebfafcb350b236ee5f1e823048911666ae8c
zink: rebind resources for export as needed

exporting all resources breaks suballocation, so instead just use the
existing heuristics and then forcibly rebind resources as needed
for this functionality

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