aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_image.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-12-08 15:22:47 -0800
committerChad Versace <[email protected]>2015-12-09 15:36:39 -0800
commit9a9c551f3e50c90053c3ee9038247df6ec6337dc (patch)
treef14872782014d988409930429778d24750336148 /src/vulkan/anv_image.c
parent46bcf9d777c4d7cfb42757d9bc01a519749ac0c9 (diff)
anv/image: Drop unused halign, valign lookup tables
Diffstat (limited to 'src/vulkan/anv_image.c')
-rw-r--r--src/vulkan/anv_image.c12
1 files changed, 0 insertions, 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,