mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-14 04:58:20 +02:00
radv: handle errors correctly when creating gang waits
r was only assigned for the first cmd stream. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42027>
This commit is contained in:
parent
2b8b6fd292
commit
bcae3b8005
1 changed files with 3 additions and 3 deletions
|
|
@ -1386,15 +1386,15 @@ radv_create_gang_wait_preambles_postambles(struct radv_queue *queue)
|
|||
if (r != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
radv_create_cmd_stream(device, ip, false, &leader_post_cs);
|
||||
r = radv_create_cmd_stream(device, ip, false, &leader_post_cs);
|
||||
if (r != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
radv_create_cmd_stream(device, AMD_IP_COMPUTE, false, &ace_pre_cs);
|
||||
r = radv_create_cmd_stream(device, AMD_IP_COMPUTE, false, &ace_pre_cs);
|
||||
if (r != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
radv_create_cmd_stream(device, AMD_IP_COMPUTE, false, &ace_post_cs);
|
||||
r = radv_create_cmd_stream(device, AMD_IP_COMPUTE, false, &ace_post_cs);
|
||||
if (r != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue