mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
radv: Implement ordered compute dispatches
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21071>
This commit is contained in:
parent
77b0a4c025
commit
22a028ea99
2 changed files with 8 additions and 0 deletions
|
|
@ -9561,6 +9561,9 @@ radv_emit_dispatch_packets(struct radv_cmd_buffer *cmd_buffer,
|
|||
dispatch_initiator |= S_00B800_CS_W32_EN(1);
|
||||
}
|
||||
|
||||
if (info->ordered)
|
||||
dispatch_initiator &= ~S_00B800_ORDER_MODE(1);
|
||||
|
||||
if (info->va) {
|
||||
if (info->indirect)
|
||||
radv_cs_add_buffer(ws, cs, info->indirect);
|
||||
|
|
|
|||
|
|
@ -1705,6 +1705,11 @@ struct radv_dispatch_info {
|
|||
*/
|
||||
bool unaligned;
|
||||
|
||||
/**
|
||||
* Whether waves must be launched in order.
|
||||
*/
|
||||
bool ordered;
|
||||
|
||||
/**
|
||||
* Indirect compute parameters resource.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue