mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radv: Skip transitions coming from external queue.
Transitions to external queue should do the transition & make sure it works on all queues. Fixes:8ebc7dcb59"radv: Allow fast clears with concurrent queue mask for some layouts." Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit0667c1f14b)
This commit is contained in:
parent
a48ef364e1
commit
746025fd63
1 changed files with 3 additions and 0 deletions
|
|
@ -4664,6 +4664,9 @@ static void radv_handle_image_transition(struct radv_cmd_buffer *cmd_buffer,
|
|||
assert(src_family == cmd_buffer->queue_family_index ||
|
||||
dst_family == cmd_buffer->queue_family_index);
|
||||
|
||||
if (src_family == VK_QUEUE_FAMILY_EXTERNAL)
|
||||
return;
|
||||
|
||||
if (cmd_buffer->queue_family_index == RADV_QUEUE_TRANSFER)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue