From 3e6ad428b68f97129840db01b7a37953019195d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Tue, 13 Sep 2022 01:02:25 +0200 Subject: [PATCH] radv: Change max preferred task workgroup invocations to 64. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was accidentally left at the maximum possible value. However I now tested this with the cadscene demo app and there is hardly any benefit from going above 64. Set it to 64 for now. Signed-off-by: Timur Kristóf Reviewed-by: Rhys Perry Part-of: --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index c2f2b88..a06e72f 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2617,7 +2617,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, properties->meshOutputPerVertexGranularity = 1; properties->meshOutputPerPrimitiveGranularity = 1; - properties->maxPreferredTaskWorkGroupInvocations = 1024; + properties->maxPreferredTaskWorkGroupInvocations = 64; properties->maxPreferredMeshWorkGroupInvocations = 128; properties->prefersLocalInvocationVertexOutput = true; properties->prefersLocalInvocationPrimitiveOutput = true; -- 2.7.4