From f19fc91c510d0a04868b257dce1f5a8d383a9c3f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 15 May 2026 10:12:57 +0300 Subject: [PATCH] anv: bump max compute workgroup count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The HW can do up to UINT32_MAX but we're using that value to signal indirect dispatch arguments. A game like Resident Evil Requiem will use more than 64k on X dimension. Signed-off-by: Lionel Landwerlin Cc: mesa-stable Reviewed-by: Tapani Pälli Reviewed-by: Sagar Ghuge Part-of: --- src/intel/vulkan/anv_physical_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index a725788f39f..c327fd0bc76 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -1427,7 +1427,7 @@ get_properties(const struct anv_physical_device *pdevice, desc_limits.max_images, .maxComputeSharedMemorySize = MIN2(MAX_SLM_SIZE, intel_device_info_get_max_slm_size(&pdevice->info)), - .maxComputeWorkGroupCount = { 65535, 65535, 65535 }, + .maxComputeWorkGroupCount = { 0x7fffffff, 65535, 65535 }, .maxComputeWorkGroupInvocations = max_workgroup_size, .maxComputeWorkGroupSize = { max_workgroup_size,