mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 04:08:10 +02:00
anv: bump max compute workgroup count
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 <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41592>
This commit is contained in:
parent
a554dd031a
commit
f19fc91c51
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue