From 01e2932d6a8e4b342f202d4bf3c70a9798d25e90 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 7 Dec 2015 08:40:14 -0800 Subject: [PATCH] anv: Remove unused anv_format_s8_uint This is no longer needed after migrating to isl. --- src/vulkan/anv_formats.c | 3 --- src/vulkan/anv_private.h | 7 ------- 2 files changed, 10 deletions(-) diff --git a/src/vulkan/anv_formats.c b/src/vulkan/anv_formats.c index 19de40b52c2..eba0f1122a4 100644 --- a/src/vulkan/anv_formats.c +++ b/src/vulkan/anv_formats.c @@ -212,9 +212,6 @@ static const struct anv_format anv_formats[] = { #undef fmt -const struct anv_format *const -anv_format_s8_uint = &anv_formats[VK_FORMAT_S8_UINT]; - const struct anv_format * anv_format_for_vk_format(VkFormat format) { diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 156905ffa5d..5e611242481 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1375,13 +1375,6 @@ struct anv_format { bool has_stencil; }; -/** - * Stencil formats are often a special case. To reduce the number of lookups - * into the VkFormat-to-anv_format translation table when working with - * stencil, here is the handle to the table's entry for VK_FORMAT_S8_UINT. - */ -extern const struct anv_format *const anv_format_s8_uint; - const struct anv_format * anv_format_for_vk_format(VkFormat format); -- 2.30.2