mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 13:30:42 +01:00
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:
parent
28342a581f
commit
e6f77defec
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ nvk_init_wsi(struct nvk_physical_device *pdev)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
pdev->wsi_device.supports_scanout = false;
|
pdev->wsi_device.supports_scanout = false;
|
||||||
|
pdev->wsi_device.supports_modifiers = true;
|
||||||
|
|
||||||
pdev->vk.wsi_device = &pdev->wsi_device;
|
pdev->vk.wsi_device = &pdev->wsi_device;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue