[Vulkan] Use BC4 for DXT5A.

This commit is contained in:
Rick Gibbed 2018-05-11 15:58:27 -05:00 committed by GitHub
parent 9b9383ace0
commit 988877f428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ static const TextureConfig texture_configs[64] = {
/* k_11_11_10_AS_16_16_16_16 */ {VK_FORMAT_B10G11R11_UFLOAT_PACK32}, // ?
/* k_32_32_32_FLOAT */ {VK_FORMAT_R32G32B32_SFLOAT},
/* k_DXT3A */ {VK_FORMAT_UNDEFINED},
/* k_DXT5A */ {VK_FORMAT_UNDEFINED}, // ATI1N
/* k_DXT5A */ {VK_FORMAT_BC4_UNORM_BLOCK}, // ATI1N
// http://fileadmin.cs.lth.se/cs/Personal/Michael_Doggett/talks/unc-xenos-doggett.pdf
/* k_CTX1 */ {VK_FORMAT_R8G8_UINT},