Henri Verbeet : wined3d: Submit the current command buffer in adapter_vk_flush_context().

Alexandre Julliard julliard at winehq.org
Fri May 1 16:17:50 CDT 2020


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri May  1 15:24:24 2020 +0430

wined3d: Submit the current command buffer in adapter_vk_flush_context().

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

---

 dlls/wined3d/adapter_vk.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dlls/wined3d/adapter_vk.c b/dlls/wined3d/adapter_vk.c
index 65850ab4cc..f06cf30f27 100644
--- a/dlls/wined3d/adapter_vk.c
+++ b/dlls/wined3d/adapter_vk.c
@@ -1493,7 +1493,11 @@ static void adapter_vk_destroy_query(struct wined3d_query *query)
 
 static void adapter_vk_flush_context(struct wined3d_context *context)
 {
-    TRACE("context %p.\n", context);
+    struct wined3d_context_vk *context_vk = wined3d_context_vk(context);
+
+    TRACE("context_vk %p.\n", context_vk);
+
+    wined3d_context_vk_submit_command_buffer(context_vk, 0, NULL, NULL, 0, NULL);
 }
 
 static void adapter_vk_draw_primitive(struct wined3d_device *device,




More information about the wine-cvs mailing list