zink: simplify swapchain imageview handling
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 25 Oct 2022 17:34:01 +0000 (13:34 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 14:43:50 +0000 (14:43 +0000)
commit34ec611dc6198c2ed8b6bf07898d66b54d4ee160
tree9f735547dcfc3c8eeaac9faf263e8000af536735
parent2f7a2ffde8dddbe5a8516def07ea3e8a05c87695
zink: simplify swapchain imageview handling

the zink_resource_object::views array already handles this, so don't
duplicate its functionality

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19307>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_surface.c
src/gallium/drivers/zink/zink_types.h