From 2eb425d7f877a2b0abbc80cfcde633f26908e1db Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Mon, 24 Nov 2025 10:02:44 -0400 Subject: [PATCH] [vk] Fixing logging statements --- src/video_core/texture_cache/image_info.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/video_core/texture_cache/image_info.cpp b/src/video_core/texture_cache/image_info.cpp index bfa306fd19..e74d7aaf7d 100644 --- a/src/video_core/texture_cache/image_info.cpp +++ b/src/video_core/texture_cache/image_info.cpp @@ -51,9 +51,9 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept { LOG_WARNING(Render_Vulkan, "HDR format 0x{:02X} has non-FLOAT components (r={} g={} b={} a={}), " "possible register corruption", - static_cast(tex_format), - static_cast(config.r_type), static_cast(config.g_type), - static_cast(config.b_type), static_cast(config.a_type)); + static_cast(tex_format.Value()), + static_cast(config.r_type.Value()), static_cast(config.g_type.Value()), + static_cast(config.b_type.Value()), static_cast(config.a_type.Value())); } format = PixelFormatFromTextureInfo(config.format, config.r_type, config.g_type, config.b_type, @@ -70,9 +70,9 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept { LOG_ERROR(Render_Vulkan, "Format mismatch: HDR format 0x{:02X} mapped to depth/stencil {}. " "TIC components: r={} g={} b={} a={} srgb={}", - static_cast(tex_format), format, - static_cast(config.r_type), static_cast(config.g_type), - static_cast(config.b_type), static_cast(config.a_type), + static_cast(tex_format.Value()), format, + static_cast(config.r_type.Value()), static_cast(config.g_type.Value()), + static_cast(config.b_type.Value()), static_cast(config.a_type.Value()), config.srgb_conversion); } @@ -81,9 +81,9 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept { LOG_ERROR(Render_Vulkan, "Format mismatch: Depth/stencil format 0x{:02X} mapped to color {}. " "TIC components: r={} g={} b={} a={} srgb={}", - static_cast(tex_format), format, - static_cast(config.r_type), static_cast(config.g_type), - static_cast(config.b_type), static_cast(config.a_type), + static_cast(tex_format.Value()), format, + static_cast(config.r_type.Value()), static_cast(config.g_type.Value()), + static_cast(config.b_type.Value()), static_cast(config.a_type.Value()), config.srgb_conversion); }