summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-13 05:26:03 +0100
committerDave Airlie <[email protected]>2016-10-19 10:15:42 +1000
commit467d161e6a050bb2e55278340d235b91c2ffa5df (patch)
tree56d578b28ce525b22c20da43cd20ef146441b217 /src/intel/vulkan/anv_wsi.c
parentb8e7460563e9a92f81158c4b02771aa2636ac373 (diff)
anv/wsi: remove device from get_support interface
replace with wsi_device and allocator. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.c')
-rw-r--r--src/intel/vulkan/anv_wsi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c
index 767fa79f7af..a77cfe9c94b 100644
--- a/src/intel/vulkan/anv_wsi.c
+++ b/src/intel/vulkan/anv_wsi.c
@@ -81,7 +81,9 @@ VkResult anv_GetPhysicalDeviceSurfaceSupportKHR(
ANV_FROM_HANDLE(_VkIcdSurfaceBase, surface, _surface);
struct anv_wsi_interface *iface = device->wsi_device.wsi[surface->platform];
- return iface->get_support(surface, device, queueFamilyIndex, pSupported);
+ return iface->get_support(surface, &device->wsi_device,
+ &device->instance->alloc,
+ queueFamilyIndex, pSupported);
}
VkResult anv_GetPhysicalDeviceSurfaceCapabilitiesKHR(