From: Jason Ekstrand Date: Thu, 16 Nov 2017 19:56:00 +0000 (-0800) Subject: anv/wsi: Enable prime support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1117f843fe6223a50aeedfd943696ac4a7b4691f;p=mesa.git anv/wsi: Enable prime support Now that we're using the same common code as radv, we get prime support for free. Just enable it. Reviewed-by: Dave Airlie Reviewed-by: Chad Versace --- diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index 4d9f7df5c7f..975ad18146c 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -116,7 +116,7 @@ VkResult anv_GetPhysicalDeviceSurfaceSupportKHR( return iface->get_support(surface, &device->wsi_device, &device->instance->alloc, - queueFamilyIndex, device->local_fd, false, pSupported); + queueFamilyIndex, device->local_fd, true, pSupported); } VkResult anv_GetPhysicalDeviceSurfaceCapabilitiesKHR(