Module: Mesa Branch: main Commit: 285d20d3c505826391782a42795399cc9250500d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=285d20d3c505826391782a42795399cc9250500d
Author: Timur Kristóf <[email protected]> Date: Sat Jan 15 14:09:12 2022 +0100 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 <[email protected]> Reviewed-by: Rhys Perry <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14929> --- src/amd/common/ac_shader_args.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amd/common/ac_shader_args.h b/src/amd/common/ac_shader_args.h index 2a71360099c..e74caeda68d 100644 --- a/src/amd/common/ac_shader_args.h +++ b/src/amd/common/ac_shader_args.h @@ -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];
