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

@@ -1074,7 +1074,7 @@
"description": "anv: Fix typo in transition_color_buffer",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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. */