radv: print stringname for VkExternalMemoryHandleTypeFlagBits error

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33323>
This commit is contained in:
Mike Blumenkrantz 2025-01-30 10:07:28 -05:00 committed by Marge Bot
parent 20013a1774
commit 30b616244c

View file

@ -1226,8 +1226,8 @@ radv_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
* vkGetPhysicalDeviceImageFormatProperties2 returns
* VK_ERROR_FORMAT_NOT_SUPPORTED.
*/
result = vk_errorf(pdev, VK_ERROR_FORMAT_NOT_SUPPORTED, "unsupported VkExternalMemoryHandleTypeFlagBits 0x%x",
external_info->handleType);
result = vk_errorf(pdev, VK_ERROR_FORMAT_NOT_SUPPORTED, "unsupported VkExternalMemoryHandleTypeFlagBits %s",
vk_ExternalMemoryHandleTypeFlagBits_to_str(external_info->handleType));
goto fail;
}
}