vulkan: fix build issue on android (both anv/radv)
Fixes linking errors against: anv_GetPhysicalDeviceImageFormatProperties2KHR radv_GetPhysicalDeviceImageFormatProperties2KHR Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
41e6ffee49
commit
9f29b1a4c8
|
@ -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__);
|
||||
}
|
||||
|
||||
|
|
|
@ -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__);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue