diff --git a/src/imagination/vulkan/pvr_arch_tex_state.c b/src/imagination/vulkan/pvr_arch_tex_state.c index 8233913f926..e7da6a4197b 100644 --- a/src/imagination/vulkan/pvr_arch_tex_state.c +++ b/src/imagination/vulkan/pvr_arch_tex_state.c @@ -121,7 +121,8 @@ VkResult pvr_arch_pack_tex_state(struct pvr_device *device, enum pvr_memlayout mem_layout; VkImageViewType iview_type; - if (info->type == VK_IMAGE_VIEW_TYPE_1D && + if ((info->type == VK_IMAGE_VIEW_TYPE_1D || + info->type == VK_IMAGE_VIEW_TYPE_1D_ARRAY) && info->mem_layout == PVR_MEMLAYOUT_LINEAR) { /* Change the memory layout to twiddled as there isn't a TEXSTATE_TEXTYPE * for 1D linear and 1D twiddled is equivalent.