ac: Add task ring entry shader argument.

This is going to be used by both task and mesh shaders for
accessing the draw and payload ring buffers.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14929>
This commit is contained in:
Timur Kristóf 2022-01-15 14:09:12 +01:00 committed by Marge Bot
parent 7de3034897
commit 285d20d3c5

View file

@ -141,6 +141,9 @@ struct ac_shader_args {
struct ac_arg workgroup_ids[3];
struct ac_arg tg_size;
/* Mesh and task shaders */
struct ac_arg task_ring_entry; /* Pointer into the draw and payload rings. */
/* Vulkan only */
struct ac_arg push_constants;
struct ac_arg inline_push_consts[AC_MAX_INLINE_PUSH_CONSTS];