Mesa (main): radv: Fix preamble argument order.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Feb 12 00:08:43 UTC 2022
Module: Mesa
Branch: main
Commit: 79131b6ee6c98a8b662aeb32bb623a8974f8bef5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79131b6ee6c98a8b662aeb32bb623a8974f8bef5
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sat Jan 15 14:43:15 2022 +0100
radv: Fix preamble argument order.
Used the wrong cmdbuffer in the wrong situation. Oops.
Fixes: 915e9178faf ("radv: Split out commandbuffer submission.")
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14574>
---
src/amd/vulkan/radv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 64ada63fc98..8c61bd924d0 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -4339,7 +4339,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;
More information about the mesa-commit
mailing list