zink: zero VkImageCreateInfo::queueFamilyIndexCount on creation

this explodes gfxreconstruct

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12905>
This commit is contained in:
Mike Blumenkrantz 2021-09-16 09:57:47 -04:00 committed by Marge Bot
parent e2ba454180
commit eb3fa25150

View file

@ -323,6 +323,7 @@ create_ici(struct zink_screen *screen, VkImageCreateInfo *ici, const struct pipe
ici->pNext = NULL;
ici->flags = modifiers_count || dmabuf || bind & (PIPE_BIND_SCANOUT | PIPE_BIND_DEPTH_STENCIL) ? 0 : VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT;
ici->usage = 0;
ici->queueFamilyIndexCount = 0;
switch (templ->target) {
case PIPE_TEXTURE_1D: