diff options
author | Samuel Pitoiset <[email protected]> | 2019-06-25 08:47:47 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-07 17:03:38 +0200 |
commit | 9c1266048f530926ff3da4172680be76f854f738 (patch) | |
tree | 44efe40fde0e4f4faa288f84abee5f5e0a1335b6 /src/amd/vulkan/radv_formats.c | |
parent | 0213fe09b81b3325fa86e493f68f4f2fb293781d (diff) |
radv/gfx10: increase maximum number of layers to 8192
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_formats.c')
-rw-r--r-- | src/amd/vulkan/radv_formats.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |