For download, vkCmdCopyImageToBuffer() is used, not vkCmdCopyBufferToImage().
Signed-off-by: Connor McAdams cmcadams@codeweavers.com --- dlls/wined3d/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 34d76249084..49dca873d64 100644 --- a/dlls/wined3d/texture.c +++ b/dlls/wined3d/texture.c @@ -4951,7 +4951,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)