mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-17 08:48:21 +02:00
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:
parent
d9bb29d3f8
commit
6f01802be5
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue