Skip to content

vulkan/wsi/wayland: don't expose surface formats not fully supported

Depending on whether an application creates a swapchain with VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR or not, we might use 2 different formats with the compositor.

This change makes sure that we support all the underlying formats before exposing the corresponding VkFormat to the application.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 151b65b2 ("vulkan/wsi/wayland: generalize modifier handling") Closes: #5522 (closed)

Merge request reports