From: Samuel Pitoiset Date: Tue, 25 Jun 2019 06:47:47 +0000 (+0200) Subject: radv/gfx10: increase maximum number of layers to 8192 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c1266048f530926ff3da4172680be76f854f738;p=mesa.git radv/gfx10: increase maximum number of layers to 8192 Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c index 95b59b56ecf..26fc4b9ba18 100644 --- a/src/amd/vulkan/radv_formats.c +++ b/src/amd/vulkan/radv_formats.c @@ -1140,14 +1140,14 @@ static VkResult radv_get_image_format_properties(struct radv_physical_device *ph maxExtent.height = 1; maxExtent.depth = 1; maxMipLevels = 15; /* log2(maxWidth) + 1 */ - maxArraySize = 2048; + maxArraySize = chip_class >= GFX10 ? 8192 : 2048; break; case VK_IMAGE_TYPE_2D: maxExtent.width = 16384; maxExtent.height = 16384; maxExtent.depth = 1; maxMipLevels = 15; /* log2(maxWidth) + 1 */ - maxArraySize = 2048; + maxArraySize = chip_class >= GFX10 ? 8192 : 2048; break; case VK_IMAGE_TYPE_3D: maxExtent.width = 2048;