radv: Enable modifiers with the WSI.

Reviewed-By: Chad Versace <chad@kiwitree.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7667>
This commit is contained in:
Bas Nieuwenhuizen 2020-11-18 02:35:59 +01:00 committed by Marge Bot
parent 58e5232625
commit f9960579c3

View file

@ -63,6 +63,7 @@ radv_init_wsi(struct radv_physical_device *physical_device)
if (result != VK_SUCCESS)
return result;
physical_device->wsi_device.supports_modifiers = physical_device->rad_info.chip_class >= GFX9;
physical_device->wsi_device.set_memory_ownership = radv_wsi_set_memory_ownership;
return VK_SUCCESS;
}