mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
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:
parent
a51a44a169
commit
09ae669fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue