Module: Mesa
Branch: main
Commit: 00b681058f24ce5b36eb9f91b7497705aeca7b6a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00b681058f24ce5b36eb9f91b7497705aeca7b6a

Author: Faith Ekstrand <[email protected]>
Date:   Mon Sep 25 16:59:29 2023 -0500

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>

---

 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,

Reply via email to