panvk: Support modifiers for Wayland WSI
If we don't send modifiers, Wayland compositors end up with DRM_FORMAT_MOD_INVALID which may prevent them from e.g. assigning an overlay plane to an application. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Acked-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26568>
This commit is contained in:
@@ -50,7 +50,7 @@ panvk_wsi_init(struct panvk_physical_device *physical_device)
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
physical_device->wsi_device.supports_modifiers = false;
|
||||
physical_device->wsi_device.supports_modifiers = true;
|
||||
|
||||
physical_device->vk.wsi_device = &physical_device->wsi_device;
|
||||
|
||||
|
Reference in New Issue
Block a user