zink: unset resource layout+access when doing storage setup
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 5 Apr 2022 16:09:02 +0000 (12:09 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Apr 2022 04:49:00 +0000 (04:49 +0000)
commitf05d0f123881116e8ecbc20130bdc5818db0e5dc
tree96b10b5c0eb10c59a5793843e2edbf28ac24b544
parent65394fcaefc2108acba1f9f0b538e5bf92003164
zink: unset resource layout+access when doing storage setup

the previous access info is transferred to the staging resource for the copy,
and the new image has no access info

cc: mesa-stable

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