Connor McAdams : wined3d: Fix comment in wined3d_texture_vk_download_data().

Alexandre Julliard julliard at winehq.org
Tue Feb 15 16:07:19 CST 2022


Module: wine
Branch: master
Commit: 0dcdfae29a671a3fbaaae1b2299324d9c51d1faf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0dcdfae29a671a3fbaaae1b2299324d9c51d1faf

Author: Connor McAdams <cmcadams at codeweavers.com>
Date:   Mon Feb 14 12:59:42 2022 -0500

wined3d: Fix comment in wined3d_texture_vk_download_data().

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

Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 e1f20887840..18925338285 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -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)




More information about the wine-cvs mailing list