summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-16 11:56:00 -0800
committerJason Ekstrand <[email protected]>2017-12-04 10:04:19 -0800
commit1117f843fe6223a50aeedfd943696ac4a7b4691f (patch)
tree787bfe7b094d4852b46c7fb3ea268ff8308250ab
parentac95335b614c0be8ef025013dc01a67131a8dcfd (diff)
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 <[email protected]> Reviewed-by: Chad Versace <[email protected]>
-rw-r--r--src/intel/vulkan/anv_wsi.c2
1 files changed, 1 insertions, 1 deletions
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(