mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
pvr: pack image/texture array size unconditionally
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
e3fdd6689b
commit
0ecaad3145
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue