Browse Source

[vk] Fixing logging statements

true-eds
CamilleLaVey 4 weeks ago
committed by Caio Oliveira
parent
commit
2eb425d7f8
No known key found for this signature in database GPG Key ID: AAAE6C7FD4186B0C
  1. 18
      src/video_core/texture_cache/image_info.cpp

18
src/video_core/texture_cache/image_info.cpp

@ -51,9 +51,9 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept {
LOG_WARNING(Render_Vulkan, LOG_WARNING(Render_Vulkan,
"HDR format 0x{:02X} has non-FLOAT components (r={} g={} b={} a={}), " "HDR format 0x{:02X} has non-FLOAT components (r={} g={} b={} a={}), "
"possible register corruption", "possible register corruption",
static_cast<u32>(tex_format),
static_cast<u32>(config.r_type), static_cast<u32>(config.g_type),
static_cast<u32>(config.b_type), static_cast<u32>(config.a_type));
static_cast<u32>(tex_format.Value()),
static_cast<u32>(config.r_type.Value()), static_cast<u32>(config.g_type.Value()),
static_cast<u32>(config.b_type.Value()), static_cast<u32>(config.a_type.Value()));
} }
format = PixelFormatFromTextureInfo(config.format, config.r_type, config.g_type, config.b_type, 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, LOG_ERROR(Render_Vulkan,
"Format mismatch: HDR format 0x{:02X} mapped to depth/stencil {}. " "Format mismatch: HDR format 0x{:02X} mapped to depth/stencil {}. "
"TIC components: r={} g={} b={} a={} srgb={}", "TIC components: r={} g={} b={} a={} srgb={}",
static_cast<u32>(tex_format), format,
static_cast<u32>(config.r_type), static_cast<u32>(config.g_type),
static_cast<u32>(config.b_type), static_cast<u32>(config.a_type),
static_cast<u32>(tex_format.Value()), format,
static_cast<u32>(config.r_type.Value()), static_cast<u32>(config.g_type.Value()),
static_cast<u32>(config.b_type.Value()), static_cast<u32>(config.a_type.Value()),
config.srgb_conversion); config.srgb_conversion);
} }
@ -81,9 +81,9 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept {
LOG_ERROR(Render_Vulkan, LOG_ERROR(Render_Vulkan,
"Format mismatch: Depth/stencil format 0x{:02X} mapped to color {}. " "Format mismatch: Depth/stencil format 0x{:02X} mapped to color {}. "
"TIC components: r={} g={} b={} a={} srgb={}", "TIC components: r={} g={} b={} a={} srgb={}",
static_cast<u32>(tex_format), format,
static_cast<u32>(config.r_type), static_cast<u32>(config.g_type),
static_cast<u32>(config.b_type), static_cast<u32>(config.a_type),
static_cast<u32>(tex_format.Value()), format,
static_cast<u32>(config.r_type.Value()), static_cast<u32>(config.g_type.Value()),
static_cast<u32>(config.b_type.Value()), static_cast<u32>(config.a_type.Value()),
config.srgb_conversion); config.srgb_conversion);
} }

Loading…
Cancel
Save