mesa/src/vulkan/wsi
Michel Dänzer 8d7aa4279a vulkan/wsi/wayland: Set num_modifier_lists = 0 if num_drm_modifiers == 0
This case was missed in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18826 ,
resulting in native Wayland apps failing with

 ../src/vulkan/wsi/wsi_common_drm.c:452: wsi_configure_native_image: Assertion `!"Failed to find a supported modifier!  This should never " "happen because LINEAR should always be available"' failed.

if the Wayland compositor advertises only the INVALID modifier.

Fixes: c315e20d61 ("vulkan/wsi/wayland: Configure images via params passed to wsi_swapchain_init()")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19795>
2022-11-18 09:42:03 +00:00
..
meson.build vulkan/wsi: Add dep_libudev to idep dependencies 2022-10-14 21:10:29 +00:00
wsi_common.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
wsi_common.h vulkan/wsi/wl: correctly find whether the compositor uses the same GPU 2022-10-26 20:34:15 +00:00
wsi_common_display.c wsi/display: Refactor available_surface_formats structure 2022-11-16 14:07:45 +00:00
wsi_common_display.h
wsi_common_drm.c
wsi_common_drm.h
wsi_common_private.h vulkan/wsi/wayland: introduce struct wsi_wl_surface 2022-10-21 12:15:37 +00:00
wsi_common_queue.h
wsi_common_wayland.c vulkan/wsi/wayland: Set num_modifier_lists = 0 if num_drm_modifiers == 0 2022-11-18 09:42:03 +00:00
wsi_common_win32.c
wsi_common_x11.c