radv: Fix preamble argument order.

Used the wrong cmdbuffer in the wrong situation. Oops.

Fixes: 915e9178fa ("radv: Split out commandbuffer submission.")
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14574>
(cherry picked from commit 79131b6ee6)
This commit is contained in:
Bas Nieuwenhuizen 2022-01-15 14:43:15 +01:00 committed by Dylan Baker
parent 0c22f3ffaf
commit 1c3a61979b
2 changed files with 2 additions and 2 deletions

View file

@ -688,7 +688,7 @@
"description": "radv: Fix preamble argument order.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "915e9178faf9c0ee9098b8915d8b30009ae4f08d"
},

View file

@ -4336,7 +4336,7 @@ radv_queue_submit(struct vk_queue *vqueue, struct vk_queue_submit *submission)
result =
radv_get_preambles(queue, submission->command_buffers, submission->command_buffer_count,
&initial_preamble_cs, &initial_flush_preamble_cs, &continue_preamble_cs);
&initial_flush_preamble_cs, &initial_preamble_cs, &continue_preamble_cs);
if (result != VK_SUCCESS)
goto fail;