vulkan/android: improve AHB image format check logging

Decimal is better for VkFormat. Also prefer the hex logging with 0x to
be intuitive.

Reviewed-by: Lucas Fryzek <lfryzek@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36204>
This commit is contained in:
Yiwei Zhang
2025-07-17 14:13:48 -07:00
committed by Marge Bot
parent 46cbe95ccf
commit f5c1b74c66
+4 -3
View File
@@ -950,9 +950,10 @@ vk_android_get_ahb_image_properties(
}
if (!vk_ahb_probe_format(info->format, info->flags, info->usage)) {
return vk_errorf(pdevice, VK_ERROR_FORMAT_NOT_SUPPORTED,
"format (%x) flags (%x) usage (%x) unsupported for AHB",
info->format, info->flags, info->usage);
return vk_errorf(
pdevice, VK_ERROR_FORMAT_NOT_SUPPORTED,
"format (%u) flags (0x%x) usage (0x%x) unsupported for AHB",
info->format, info->flags, info->usage);
}
external_props =