mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-17 13:02:10 -04:00
HiresTextures: Support loading BC7 (BPTC) from DDS files
This commit is contained in:
@@ -31,6 +31,7 @@ size_t AbstractTexture::CalculateHostTextureLevelPitch(AbstractTextureFormat for
|
||||
return static_cast<size_t>(std::max(1u, row_length / 4)) * 8;
|
||||
case AbstractTextureFormat::DXT3:
|
||||
case AbstractTextureFormat::DXT5:
|
||||
case AbstractTextureFormat::BPTC:
|
||||
return static_cast<size_t>(std::max(1u, row_length / 4)) * 16;
|
||||
case AbstractTextureFormat::RGBA8:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user