From: Eric Engestrom Date: Thu, 21 Nov 2019 20:29:35 +0000 (+0000) Subject: vk_util: drop duplicate formats in vk_format_map[] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=609a6ae23e7d8e35f007c35c5c79be2ef58532c2;p=mesa.git vk_util: drop duplicate formats in vk_format_map[] Signed-off-by: Eric Engestrom Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Eric Anholt --- diff --git a/src/vulkan/util/vk_format.c b/src/vulkan/util/vk_format.c index fd9abeea509..b8bd2b0d137 100644 --- a/src/vulkan/util/vk_format.c +++ b/src/vulkan/util/vk_format.c @@ -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,