anv: Fix typo in transition_color_buffer

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27330>
(cherry picked from commit 29d18f3ca9)
This commit is contained in:
Haihao Xiang
2023-09-22 16:22:23 +08:00
committed by Eric Engestrom
parent 9b9ba6084b
commit 2747acc06d
2 changed files with 2 additions and 2 deletions

View File

@@ -898,7 +898,7 @@ transition_color_buffer(struct anv_cmd_buffer *cmd_buffer,
0 : src_queue_family].queueFlags;
const VkQueueFlagBits dst_queue_flags =
device->physical->queue.families[
(dst_queue_external || src_queue_family == VK_QUEUE_FAMILY_IGNORED) ?
(dst_queue_external || dst_queue_family == VK_QUEUE_FAMILY_IGNORED) ?
0 : dst_queue_family].queueFlags;
/* Simultaneous acquire and release on external queues is illegal. */