nvk/wsi: Advertise modifier support

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795>
(cherry picked from commit e6f77defec)
This commit is contained in:
Faith Ekstrand 2024-02-13 15:04:53 -06:00 committed by Eric Engestrom
parent dc1dd72de5
commit 9e27390d68
2 changed files with 2 additions and 1 deletions

View file

@ -1414,7 +1414,7 @@
"description": "nvk/wsi: Advertise modifier support",
"nominated": false,
"nomination_type": 3,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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;