radv/amdgpu: Unchain CS array in queue code not in winsys.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22220>
This commit is contained in:
@@ -1716,11 +1716,13 @@ radv_queue_submit_normal(struct radv_queue *queue, struct vk_queue_submit *submi
|
||||
|
||||
/* ACE needs to be first because the last CS must match the queue's IP type. */
|
||||
if (radv_cmd_buffer_needs_ace(cmd_buffer)) {
|
||||
queue->device->ws->cs_unchain(cmd_buffer->ace_internal.cs);
|
||||
cs_array[num_submitted_cs++] = cmd_buffer->ace_internal.cs;
|
||||
submit_ace = true;
|
||||
}
|
||||
|
||||
can_patch &= !(cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT);
|
||||
queue->device->ws->cs_unchain(cmd_buffer->cs);
|
||||
cs_array[num_submitted_cs++] = cmd_buffer->cs;
|
||||
cs_idx = num_submitted_cs - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user