mesa/src/vulkan
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
..
device-select-layer util: normalize include files under src/util/*.h with util/ prefix in mesa code base 2022-11-10 06:27:25 +00:00
overlay-layer utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
registry vulkan: Update the XML and headers to 1.3.235 2022-11-17 16:51:05 +00:00
runtime vulkan,radv: Remove vk_shader_module_clone 2022-11-14 20:56:27 +00:00
util utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
wsi vulkan/wsi/wayland: Set num_modifier_lists = 0 if num_drm_modifiers == 0 2022-11-18 09:42:03 +00:00
meson.build meson: Refactoring shared gen_vs_module_defs_normal_command out 2022-11-11 05:38:19 +00:00
vulkan-icd-symbols.txt
vulkan_api.def.in