From f845c72283899b8bd024f690a51d2659f2ae69a8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 10 Jun 2022 14:29:59 +1000 Subject: [PATCH] nvk: add some compute limits Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 79ae4ee..b285d4c 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -77,6 +77,11 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, .maxImageArrayLayers = 2048, .maxImageDimension1D = pdevice->dev->chipset >= 0x130 ? 0x8000 : 0x4000, .maxImageDimension2D = pdevice->dev->chipset >= 0x130 ? 0x8000 : 0x4000, + .maxComputeSharedMemorySize = 49152, + .maxComputeWorkGroupCount = {0x7fffffff, 65535, 65535}, + .maxComputeWorkGroupInvocations = 1024, + .maxComputeWorkGroupSize = {1024, 1024, 64}, + .maxStorageBufferRange = UINT32_MAX, .nonCoherentAtomSize = 64, }, -- 2.7.4