X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fintel%2Fvulkan%2Fanv_wsi.c;h=024bc1c245dac420599557a3c91e99fbb12c6c29;hb=54e21e145e02824ff5250a39b6121bf7630136ac;hp=5d672c211c471179646bce1d9439d243fe30ecd3;hpb=7c65cf98441ae0f03640d2feebb5d0e5a83f2721;p=mesa.git diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index 5d672c211c4..024bc1c245d 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -89,7 +89,6 @@ VkResult anv_GetPhysicalDeviceSurfaceSupportKHR( ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice); return wsi_common_get_surface_support(&device->wsi_device, - device->local_fd, queueFamilyIndex, surface, pSupported); @@ -183,7 +182,7 @@ VkResult anv_CreateSwapchainKHR( else alloc = &device->alloc; - return wsi_common_create_swapchain(wsi_device, _device, device->fd, + return wsi_common_create_swapchain(wsi_device, _device, pCreateInfo, alloc, pSwapchain); } @@ -303,7 +302,6 @@ VkResult anv_GetPhysicalDevicePresentRectanglesKHR( ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice); return wsi_common_get_present_rectangles(&device->wsi_device, - device->local_fd, surface, pRectCount, pRects); }