diff --git a/src/xenia/gpu/texture_info.h b/src/xenia/gpu/texture_info.h index f6ca86214..b67843d14 100644 --- a/src/xenia/gpu/texture_info.h +++ b/src/xenia/gpu/texture_info.h @@ -237,6 +237,7 @@ enum class FormatType { struct FormatInfo { TextureFormat format; + const char* name; FormatType type; uint32_t block_width; uint32_t block_height; diff --git a/src/xenia/gpu/texture_info_formats.cc b/src/xenia/gpu/texture_info_formats.cc index 5cc1e80fc..700a342e5 100644 --- a/src/xenia/gpu/texture_info_formats.cc +++ b/src/xenia/gpu/texture_info_formats.cc @@ -17,7 +17,7 @@ namespace gpu { using namespace xe::gpu::xenos; #define FORMAT_INFO(texture_format, format, block_width, block_height, bits_per_pixel) \ - {TextureFormat::texture_format, FormatType::format, block_width, block_height, bits_per_pixel} + {TextureFormat::texture_format, #texture_format, FormatType::format, block_width, block_height, bits_per_pixel} const FormatInfo* FormatInfo::Get(uint32_t gpu_format) { static const FormatInfo format_infos[64] = { FORMAT_INFO(k_1_REVERSE , kUncompressed, 1, 1, 1),