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 <airlied@redhat.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
Jason Ekstrand 2017-11-16 11:56:00 -08:00
parent ac95335b61
commit 1117f843fe

View file

@ -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(