mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
dc1dd72de5
commit
9e27390d68
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue