Skip to content

vulkan/wsi: provide more info in wsi_image_create_info

Chia-I Wu requested to merge olv/mesa:wsi-image-create-info into main

Always chain wsi_image_create_info to VkImageCreateInfo, which indicates that the image is a wsi image and can be transitioned to/from VK_IMAGE_LAYOUT_PRESENT_SRC_KHR.

Add prime_blit_buffer to the struct as well. When set, it indicates the prime blit destination and implies that the image is a prime blit source.

Unless we want to go with !10637 (closed), venus needs the info to do ownership transfers on wsi images or prime blit buffers. More info might be needed depending on how #4774 is resolved.

Merge request reports