[Mesa-dev] [PATCH v2 22/32] anv/wsi: Enable prime support
Jason Ekstrand
jason at jlekstrand.net
Wed Nov 29 00:28:34 UTC 2017
Now that we're using the same common code as radv, we get prime support
for free. Just enable it.
---
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 4d9f7df..975ad18 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.5.0.400.gff86faf
More information about the mesa-dev
mailing list