maxTaskWorkGroupCountX/Y/Z is limited to 65535 (which is a min guaranteed spec limit as well as an actual command encoding restriction on some drivers).
maxTaskWorkGroupTotalCount is limited to 2^22 (min guaranteed spec limit).
This means that when we use taskSubmit we need another small shader that converts the total task WG count into X/Y/Z, e.g. hardcoding Y as 64, Z as 1, and padding the task commands to a multiple of 64 with dummy 0-count entries to handle overflow.
Without this, when we disable LOD or culling in the new pipeline, we're going over the limit.
maxTaskWorkGroupCountX/Y/Z is limited to 65535 (which is a min guaranteed spec limit as well as an actual command encoding restriction on some drivers). maxTaskWorkGroupTotalCount is limited to 2^22 (min guaranteed spec limit).
This means that when we use taskSubmit we need another small shader that converts the total task WG count into X/Y/Z, e.g. hardcoding Y as 64, Z as 1, and padding the task commands to a multiple of 64 with dummy 0-count entries to handle overflow.
Without this, when we disable LOD or culling in the new pipeline, we're going over the limit.