[Vulkan] Updated loader to resolve vkCreateImagePipeSurfaceFUCHSIA
Test: chromium can resolve vkCreateImagePipeSurfaceFUCHSIA
Change-Id: Ia78a346a6ac60490689c1d10cb531fcf2f1c378a
diff --git a/loader/wsi.c b/loader/wsi.c
index 858f3f9..53b561e 100644
--- a/loader/wsi.c
+++ b/loader/wsi.c
@@ -1962,6 +1962,13 @@
*addr = ptr_instance->wsi_magma_surface_enabled ? (void *)vkGetPhysicalDeviceMagmaPresentationSupportKHR : NULL;
return true;
}
+
+ // Functions for the VK_FUCHSIA_imagepipe_surface extension:
+ if (!strcmp("vkCreateImagePipeSurfaceFUCHSIA", name)) {
+ *addr = ptr_instance->wsi_imagepipe_surface_enabled ? (void *)vkCreateImagePipeSurfaceFUCHSIA : NULL;
+ return true;
+ }
+
#endif // VK_USE_PLATFORM_FUCHSIA
// Functions for VK_KHR_display extension: