Skip to content

radv: refactor the draw functions that use task shaders

Samuel Pitoiset requested to merge hakzsam/mesa:radv_task_gang_rework into main

Based on !27818 (merged)

For task shaders, the driver needs to emit packets to the GFX CS and to the ACE CS but it might be ambiguous which CS should be used. Note that all states always come from the main cmdbuf (GFX) from the application point of view. This MR refactors emitting draws with task shaders by passing radv_cmd_state+cs+ace_cs instead of radv_cmd_buffer in order to remove that ambiguity. IMHO, it's much cleaner that way.

Related to !25594

Merge request reports