wined3d: Fix comment in wined3d_texture_vk_download_data().

For download, vkCmdCopyImageToBuffer() is used, not
vkCmdCopyBufferToImage().

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Connor McAdams 2022-02-14 12:59:42 -05:00 committed by Alexandre Julliard
parent 820c77319d
commit 0dcdfae29a
1 changed files with 1 additions and 1 deletions

View File

@ -4953,7 +4953,7 @@ static void wined3d_texture_vk_download_data(struct wined3d_context *context,
return;
}
/* We need to be outside of a render pass for vkCmdPipelineBarrier() and vkCmdCopyBufferToImage() calls below. */
/* We need to be outside of a render pass for vkCmdPipelineBarrier() and vkCmdCopyImageToBuffer() calls below. */
wined3d_context_vk_end_current_render_pass(context_vk);
if (!dst_bo_addr->buffer_object)