mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
lavapipe: add missing wsi entrypoint.
Add support for GetPhysicalDeviceSurfaceFormats2KHR which is helpful to make the new dispatch code work. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8676>
This commit is contained in:
parent
fd3c665df0
commit
ce98c8f7af
1 changed files with 12 additions and 0 deletions
|
|
@ -120,6 +120,18 @@ VkResult lvp_GetPhysicalDeviceSurfaceFormatsKHR(
|
|||
pSurfaceFormats);
|
||||
}
|
||||
|
||||
VkResult lvp_GetPhysicalDeviceSurfaceFormats2KHR(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
|
||||
uint32_t* pSurfaceFormatCount,
|
||||
VkSurfaceFormat2KHR* pSurfaceFormats)
|
||||
{
|
||||
LVP_FROM_HANDLE(lvp_physical_device, device, physicalDevice);
|
||||
|
||||
return wsi_common_get_surface_formats2(&device->wsi_device, pSurfaceInfo,
|
||||
pSurfaceFormatCount, pSurfaceFormats);
|
||||
}
|
||||
|
||||
VkResult lvp_GetPhysicalDeviceSurfacePresentModesKHR(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
VkSurfaceKHR surface,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue