From 0ecaad31455b67619007df683457b83d984aae32 Mon Sep 17 00:00:00 2001 From: Simon Perretta Date: Wed, 8 Jan 2025 15:11:56 +0000 Subject: [PATCH] pvr: pack image/texture array size unconditionally Signed-off-by: Simon Perretta Acked-by: Erik Faye-Lund Part-of: --- src/imagination/vulkan/pvr_tex_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagination/vulkan/pvr_tex_state.c b/src/imagination/vulkan/pvr_tex_state.c index c8326a0d056..de3eae20ba1 100644 --- a/src/imagination/vulkan/pvr_tex_state.c +++ b/src/imagination/vulkan/pvr_tex_state.c @@ -210,7 +210,7 @@ VkResult pvr_pack_tex_state(struct pvr_device *device, if (iview_type == VK_IMAGE_VIEW_TYPE_3D) { if (info->extent.depth > 0) word1.depth = info->extent.depth - 1; - } else if (PVR_HAS_FEATURE(dev_info, tpu_array_textures)) { + } else { uint32_t array_layers = info->array_size; if (iview_type == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY)