From 1117f843fe6223a50aeedfd943696ac4a7b4691f Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 16 Nov 2017 11:56:00 -0800 Subject: [PATCH] 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 --- src/intel/vulkan/anv_wsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.30.2