Mesa (master): vk_util: drop duplicate formats in vk_format_map[]

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 21 22:52:55 UTC 2019


Module: Mesa
Branch: master
Commit: 609a6ae23e7d8e35f007c35c5c79be2ef58532c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=609a6ae23e7d8e35f007c35c5c79be2ef58532c2

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Nov 21 20:29:35 2019 +0000

vk_util: drop duplicate formats in vk_format_map[]

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/vulkan/util/vk_format.c | 2 --
 1 file changed, 2 deletions(-)

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,




More information about the mesa-commit mailing list