mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +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>
This commit is contained in:
parent
60009aefdb
commit
0667c1f14b
1 changed files with 3 additions and 0 deletions
|
|
@ -5004,6 +5004,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