From 00b681058f24ce5b36eb9f91b7497705aeca7b6a Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 25 Sep 2023 16:59:29 -0500 Subject: [PATCH] nvk: Advertise maxMemoryAllocationCount = 4096 This is the minimum and also what the proprietary driver advertises. Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 257097da046..96d3a3d3938 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -399,7 +399,7 @@ nvk_get_device_properties(const struct nvk_instance *instance, .maxUniformBufferRange = 65536, .maxStorageBufferRange = UINT32_MAX, .maxPushConstantsSize = NVK_MAX_PUSH_SIZE, - .maxMemoryAllocationCount = 1024, + .maxMemoryAllocationCount = 4096, .maxSamplerAllocationCount = 4000, .bufferImageGranularity = info->chipset >= 0x120 ? 0x400 : 0x10000, .sparseAddressSpaceSize = UINT32_MAX,