mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 03:30:10 +01:00
wsi/metal: Fix blit_imate_to_image's pool selection for cmd buffer alloc
Fixes:39a7d65113("wsi/metal: Backend addition for drivers built on top of Metal") Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Signed-off-by: Aitor Camacho <aitor@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38785> (cherry picked from commit273f668520)
This commit is contained in:
parent
34af07e695
commit
cefaa50440
2 changed files with 2 additions and 2 deletions
|
|
@ -584,7 +584,7 @@
|
|||
"description": "wsi/metal: Fix blit_imate_to_image's pool selection for cmd buffer alloc",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "39a7d65113c6df7d1da6e88b16fab0686db6fc83",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ wsi_cmd_blit_image_to_image(const struct wsi_swapchain *chain,
|
|||
const VkCommandBufferAllocateInfo cmd_buffer_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,
|
||||
.pNext = NULL,
|
||||
.commandPool = chain->cmd_pools[0],
|
||||
.commandPool = chain->cmd_pools[i],
|
||||
.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY,
|
||||
.commandBufferCount = 1,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue