nvk/wsi: Use the common present implementation

This enables WSI for NVK.  Currently, it always gets the blit path and
renders correctly on X11 and corrupts on Wayland.  The problem is that
we don't yet support linear images so wayland gets tiled and is wrong.
The thing that saves us for X11 is the lack of VK_EXT_pci_bus_info.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-01-30 20:12:00 -06:00 committed by Marge Bot
parent d9bb29d3f8
commit 6f01802be5

View file

@ -36,9 +36,3 @@ nvk_finish_wsi(struct nvk_physical_device *pdev)
pdev->vk.wsi_device = NULL;
wsi_device_finish(&pdev->wsi_device, &pdev->instance->vk.alloc);
}
VKAPI_ATTR VkResult VKAPI_CALL
nvk_QueuePresentKHR(VkQueue _queue, const VkPresentInfoKHR *pPresentInfo)
{
return VK_NOT_READY;
}