From 9a9c551f3e50c90053c3ee9038247df6ec6337dc Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 8 Dec 2015 15:22:47 -0800 Subject: [PATCH] anv/image: Drop unused halign, valign lookup tables --- src/vulkan/anv_image.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index 1205babef07..6aa6b5a32b5 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -40,18 +40,6 @@ struct anv_image_view_info { bool is_cube:1; /**< RENDER_SURFACE_STATE.CubeFaceEnable* */ }; -static const uint8_t anv_halign[] = { - [4] = HALIGN4, - [8] = HALIGN8, - [16] = HALIGN16, -}; - -static const uint8_t anv_valign[] = { - [4] = VALIGN4, - [8] = VALIGN8, - [16] = VALIGN16, -}; - static const uint8_t anv_surf_type_from_image_type[] = { [VK_IMAGE_TYPE_1D] = SURFTYPE_1D, [VK_IMAGE_TYPE_2D] = SURFTYPE_2D, -- 2.30.2