vk_util: drop duplicate formats in vk_format_map[]
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 21 Nov 2019 20:29:35 +0000 (20:29 +0000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 21 Nov 2019 22:52:40 +0000 (22:52 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/vulkan/util/vk_format.c

index fd9abeea50965da9754817914819f4bc22836513..b8bd2b0d1370ee2cbe2c1d0cb5bfbbbda52ff7f2 100644 (file)
@@ -196,8 +196,6 @@ static const enum pipe_format vk_format_map[] = {
    [VK_FORMAT_ASTC_8x8_SRGB_BLOCK] = PIPE_FORMAT_ASTC_8x8_SRGB,
    [VK_FORMAT_ASTC_10x5_UNORM_BLOCK] = PIPE_FORMAT_ASTC_10x5,
    [VK_FORMAT_ASTC_10x5_SRGB_BLOCK] = PIPE_FORMAT_ASTC_10x5_SRGB,
-   [VK_FORMAT_ASTC_10x5_UNORM_BLOCK] = PIPE_FORMAT_ASTC_10x5,
-   [VK_FORMAT_ASTC_10x5_SRGB_BLOCK] = PIPE_FORMAT_ASTC_10x5_SRGB,
    [VK_FORMAT_ASTC_10x6_UNORM_BLOCK] = PIPE_FORMAT_ASTC_10x6,
    [VK_FORMAT_ASTC_10x6_SRGB_BLOCK] = PIPE_FORMAT_ASTC_10x6_SRGB,
    [VK_FORMAT_ASTC_10x8_UNORM_BLOCK] = PIPE_FORMAT_ASTC_10x8,