nvk: Advertise maxMemoryAllocationCount = 4096

This is the minimum and also what the proprietary driver advertises.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25383>
This commit is contained in:
Faith Ekstrand
2023-09-25 16:59:29 -05:00
committed by Marge Bot
parent 59000decf4
commit 00b681058f

View File

@@ -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,