mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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:
parent
7de3034897
commit
285d20d3c5
1 changed files with 3 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue