Fix streaming astc 6x6 textures that have higher block size

This commit is contained in:
Wojtek Figat
2024-03-28 18:07:53 +01:00
parent f60446c37b
commit 24e56a825e
2 changed files with 3 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ int32 TexturesStreamingHandler::CalculateResidency(StreamableResource* resource,
if (mipLevels > 0 && mipLevels < texture._minMipCountBlockCompressed && texture._isBlockCompressed)
{
// Block compressed textures require minimum size of 4
// Block compressed textures require minimum size of block size (eg. 4 for BC formats)
mipLevels = texture._minMipCountBlockCompressed;
}