From: Tapani Pälli Date: Wed, 11 Apr 2018 07:23:11 +0000 (+0300) Subject: vulkan: fix build issue on android (both anv/radv) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f29b1a4c84644cd2b2749352cd6064ea408ce6b;p=mesa.git vulkan: fix build issue on android (both anv/radv) Fixes linking errors against: anv_GetPhysicalDeviceImageFormatProperties2KHR radv_GetPhysicalDeviceImageFormatProperties2KHR Signed-off-by: Tapani Pälli Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_android.c b/src/amd/vulkan/radv_android.c index 09da601dac9..c06c83b8ab4 100644 --- a/src/amd/vulkan/radv_android.c +++ b/src/amd/vulkan/radv_android.c @@ -230,11 +230,11 @@ VkResult radv_GetSwapchainGrallocUsageANDROID( }; /* Check that requested format and usage are supported. */ - result = radv_GetPhysicalDeviceImageFormatProperties2KHR(phys_dev_h, - &image_format_info, &image_format_props); + result = radv_GetPhysicalDeviceImageFormatProperties2(phys_dev_h, + &image_format_info, &image_format_props); if (result != VK_SUCCESS) { return vk_errorf(result, - "radv_GetPhysicalDeviceImageFormatProperties2KHR failed " + "radv_GetPhysicalDeviceImageFormatProperties2 failed " "inside %s", __func__); } diff --git a/src/intel/vulkan/anv_android.c b/src/intel/vulkan/anv_android.c index b1bbbb68290..7e07dbaaa45 100644 --- a/src/intel/vulkan/anv_android.c +++ b/src/intel/vulkan/anv_android.c @@ -254,11 +254,11 @@ VkResult anv_GetSwapchainGrallocUsageANDROID( }; /* Check that requested format and usage are supported. */ - result = anv_GetPhysicalDeviceImageFormatProperties2KHR(phys_dev_h, + result = anv_GetPhysicalDeviceImageFormatProperties2(phys_dev_h, &image_format_info, &image_format_props); if (result != VK_SUCCESS) { return vk_errorf(device->instance, device, result, - "anv_GetPhysicalDeviceImageFormatProperties2KHR failed " + "anv_GetPhysicalDeviceImageFormatProperties2 failed " "inside %s", __func__); }