From c9ae59dec5a622fb3e3378515bd06f5e08466326 Mon Sep 17 00:00:00 2001 From: Mel Henning Date: Wed, 17 Dec 2025 18:02:04 -0500 Subject: [PATCH] nvk: Set maxStorageBufferRange = maxBufferSize We were previously reporting a larger maxStorageBufferRange than our maxBufferSize, which is weird. Lower maxStorageBufferRange to match maxBufferSize. Fixes crucible stress.limits.buffer-update.range.storage.q0 Fixes: 65f12fde4407 ("nvk: Improve address space and buffer size limits") Reviewed-by: Mary Guillemard 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 59d3f194462..de6ee083ab3 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -791,7 +791,7 @@ nvk_get_device_properties(const struct nvk_instance *instance, .maxImageArrayLayers = 2048, .maxTexelBufferElements = 128 * 1024 * 1024, .maxUniformBufferRange = 65536, - .maxStorageBufferRange = UINT32_MAX, + .maxStorageBufferRange = 1ull << 31, .maxPushConstantsSize = NVK_MAX_PUSH_SIZE, .maxMemoryAllocationCount = 4096, .maxSamplerAllocationCount = 4000,