Lines Matching refs:swapchain_image
842 struct anv_image *swapchain_image = anv_swapchain_get_image(swapchain_info->swapchain, 0); in anv_image_from_swapchain() local
843 assert(swapchain_image); in anv_image_from_swapchain()
845 assert(swapchain_image->type == pCreateInfo->imageType); in anv_image_from_swapchain()
846 assert(swapchain_image->vk_format == pCreateInfo->format); in anv_image_from_swapchain()
847 assert(swapchain_image->extent.width == pCreateInfo->extent.width); in anv_image_from_swapchain()
848 assert(swapchain_image->extent.height == pCreateInfo->extent.height); in anv_image_from_swapchain()
849 assert(swapchain_image->extent.depth == pCreateInfo->extent.depth); in anv_image_from_swapchain()
850 assert(swapchain_image->array_size == pCreateInfo->arrayLayers); in anv_image_from_swapchain()
852 assert(swapchain_image->usage == (pCreateInfo->usage | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT)); in anv_image_from_swapchain()
866 .pDrmFormatModifiers = &swapchain_image->drm_format_mod, in anv_image_from_swapchain()
868 if (swapchain_image->drm_format_mod != DRM_FORMAT_MOD_INVALID) in anv_image_from_swapchain()
874 .external_format = swapchain_image->external_format, in anv_image_from_swapchain()
1100 struct anv_image *swapchain_image = in anv_BindImageMemory2() local
1103 assert(swapchain_image); in anv_BindImageMemory2()
1104 assert(image->aspects == swapchain_image->aspects); in anv_BindImageMemory2()
1112 .bo = swapchain_image->planes[plane].address.bo, in anv_BindImageMemory2()