mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radv: Update ACE preambles in radv_queue_submit_normal.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20010>
This commit is contained in:
parent
76deaa1b1a
commit
d065abef75
1 changed files with 9 additions and 0 deletions
|
|
@ -5469,6 +5469,15 @@ radv_queue_submit_normal(struct radv_queue *queue, struct vk_queue_submit *submi
|
|||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
if (use_ace) {
|
||||
/* TODO: chaining with gang submit. */
|
||||
can_patch = false;
|
||||
|
||||
result = radv_update_ace_preambles(queue);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
}
|
||||
|
||||
const unsigned num_perfctr_cs = use_perf_counters ? 2 : 0;
|
||||
const unsigned max_cs_submission = queue->device->trace_bo ? 1 : RADV_MAX_IBS_PER_SUBMIT;
|
||||
const unsigned cmd_buffer_count = submission->command_buffer_count;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue