From f5c1b74c66fb57cc1cca8d9cf1971153ae1a5f3f Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Thu, 17 Jul 2025 14:13:48 -0700 Subject: [PATCH] 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 Part-of: --- src/vulkan/runtime/vk_android.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/vulkan/runtime/vk_android.c b/src/vulkan/runtime/vk_android.c index 4a9b143c225..5040d6dfea7 100644 --- a/src/vulkan/runtime/vk_android.c +++ b/src/vulkan/runtime/vk_android.c @@ -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 =