diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index 1e811f6703d..9bb38273dbf 100644 --- a/src/gallium/drivers/zink/zink_resource.c +++ b/src/gallium/drivers/zink/zink_resource.c @@ -388,7 +388,9 @@ create_ici(struct zink_screen *screen, const struct pipe_resource *templ, unsign if (templ->target == PIPE_TEXTURE_CUBE || templ->target == PIPE_TEXTURE_CUBE_ARRAY || - templ->target == PIPE_TEXTURE_2D_ARRAY) { + (templ->target == PIPE_TEXTURE_2D_ARRAY && + ici.extent.width == ici.extent.height && + ici.arrayLayers >= 6)) { VkImageFormatProperties props; if (vkGetPhysicalDeviceImageFormatProperties(screen->pdev, ici.format, ici.imageType, ici.tiling,