nvk: Set maxMemoryAllocationCount

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-01-30 20:12:04 -06:00 committed by Marge Bot
parent 7bb03cbd7a
commit 3c5fbfcc30

View file

@ -250,6 +250,7 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
.maxImageDimension3D = 0x4000,
.maxImageDimensionCube = 0x8000,
.maxPushConstantsSize = NVK_MAX_PUSH_SIZE,
.maxMemoryAllocationCount = 1024,
.maxFramebufferHeight = pdev->dev->chipset >= 0x130 ? 0x8000 : 0x4000,
.maxFramebufferWidth = pdev->dev->chipset >= 0x130 ? 0x8000 : 0x4000,
.maxFramebufferLayers = 2048,