nir: Add new launch_mesh_workgroups intrinsic.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 26 May 2022 11:24:58 +0000 (13:24 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 27 May 2022 07:52:03 +0000 (07:52 +0000)
commit9eaf918ed29def18162a83fcf8f312561a739d59
treeef604f6ed2c38d8927603f1a6e2508cd9e66bf4d
parentc9f0a511e067c767eedcf7e446eca34ca8aa6b57
nir: Add new launch_mesh_workgroups intrinsic.

The new intrinsic launches mesh shader workgroups
from a task shader, with explicit task_payload.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16720>
src/compiler/nir/nir_intrinsics.py