diff --git a/src/xenia/gpu/texture_info.cc b/src/xenia/gpu/texture_info.cc index 46caa54f3..27d86d124 100644 --- a/src/xenia/gpu/texture_info.cc +++ b/src/xenia/gpu/texture_info.cc @@ -59,7 +59,6 @@ bool TextureInfo::Prepare(const xe_gpu_texture_fetch_t& fetch, info.texture_format = static_cast(fetch.format); info.endianness = static_cast(fetch.endianness); info.is_tiled = fetch.tiled; - info.has_packed_mips = fetch.packed_mips; info.mip_address = fetch.mip_address << 12; info.mip_levels = fetch.packed_mips ? fetch.mip_max_level + 1 : 1; info.input_length = 0; // Populated below. @@ -109,7 +108,6 @@ bool TextureInfo::PrepareResolve(uint32_t physical_address, info.texture_format = texture_format; info.endianness = endian; info.is_tiled = true; - info.has_packed_mips = false; info.mip_address = 0; info.mip_levels = 1; info.input_length = 0; @@ -508,9 +506,6 @@ bool TextureInfo::GetPackedTileOffset(uint32_t width, uint32_t height, // // The 2x2 and 1x1 squares are packed in their specific positions because // each square is the size of at least one block (which is 4x4 pixels max) - // 4x4: x = width & ~0x3 - // 2x2: y = (width & 0x3) << 2 - // 1x1: y = (width & 0x3) << 2 // // if (tile_aligned(w) > tile_aligned(h)) { // // wider than tall, so packed horizontally diff --git a/src/xenia/gpu/texture_info.h b/src/xenia/gpu/texture_info.h index cfce4cc43..5c3cb3d35 100644 --- a/src/xenia/gpu/texture_info.h +++ b/src/xenia/gpu/texture_info.h @@ -255,7 +255,6 @@ struct TextureInfo { uint32_t depth; Endian endianness; bool is_tiled; - bool has_packed_mips; uint32_t mip_address; uint32_t mip_levels; uint32_t input_length; diff --git a/src/xenia/gpu/vulkan/texture_cache.cc b/src/xenia/gpu/vulkan/texture_cache.cc index 95ed924c5..536a4d875 100644 --- a/src/xenia/gpu/vulkan/texture_cache.cc +++ b/src/xenia/gpu/vulkan/texture_cache.cc @@ -764,7 +764,6 @@ TextureCache::Texture* TextureCache::Lookup(const TextureInfo& texture_info) { COMPARE_FIELD(depth); COMPARE_FIELD(endianness); COMPARE_FIELD(is_tiled); - COMPARE_FIELD(has_packed_mips); COMPARE_FIELD(input_length); #undef COMPARE_FIELD if (!TextureFormatIsSimilar(texture_info.texture_format,