[Vulkan] Use BGRA swizzle for 1555.

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

View File

@ -47,7 +47,7 @@ static const TextureConfig texture_configs[64] = {
/* k_1_REVERSE */ {VK_FORMAT_UNDEFINED}, /* k_1_REVERSE */ {VK_FORMAT_UNDEFINED},
/* k_1 */ {VK_FORMAT_UNDEFINED}, /* k_1 */ {VK_FORMAT_UNDEFINED},
/* k_8 */ {VK_FORMAT_R8_UNORM}, /* k_8 */ {VK_FORMAT_R8_UNORM},
/* k_1_5_5_5 */ {VK_FORMAT_A1R5G5B5_UNORM_PACK16, ABGR}, /* k_1_5_5_5 */ {VK_FORMAT_A1R5G5B5_UNORM_PACK16, BGRA},
/* k_5_6_5 */ {VK_FORMAT_R5G6B5_UNORM_PACK16}, /* k_5_6_5 */ {VK_FORMAT_R5G6B5_UNORM_PACK16},
/* k_6_5_5 */ {VK_FORMAT_UNDEFINED}, /* k_6_5_5 */ {VK_FORMAT_UNDEFINED},
/* k_8_8_8_8 */ {VK_FORMAT_R8G8B8A8_UNORM}, /* k_8_8_8_8 */ {VK_FORMAT_R8G8B8A8_UNORM},