Skip to content

zink: only add MESA WSI structs for specific devices

Iago Toral requested to merge itoral/mesa:zink_mesa_wsi_supress_warnings into master

Some drivers will drop warnings about seeing these structs in the pNext chain and not handling them. This change makes it so we only include the structs with Vulkan drivers that are known to require them for proper behavior (v3dv only for now) to avoid the warnings.

It should be noted that here we are only supressing the messages from Zink. Since the Mesa Vulkan WSI code will include these structs, when native Vulkan Mesa drivers are used without Zink they might still dump these messages.

Requested by Mike Blumenkrantz.

Merge request reports