nvk/wsi: Advertise modifier support

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795>
This commit is contained in:
Faith Ekstrand 2024-02-13 15:04:53 -06:00 committed by Marge Bot
parent 28342a581f
commit e6f77defec
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ nvk_init_wsi(struct nvk_physical_device *pdev)
return result;
pdev->wsi_device.supports_scanout = false;
pdev->wsi_device.supports_modifiers = true;
pdev->vk.wsi_device = &pdev->wsi_device;