From a3f43a70cd7860632dbb7040686148a0d452d618 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Mon, 13 Oct 2025 20:38:26 +0200 Subject: sokol_gfx.h vk: _sg_vk_begin_pass/commit wip --- sokol_glue.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sokol_glue.h') diff --git a/sokol_glue.h b/sokol_glue.h index 0f17a5c5..718700fc 100644 --- a/sokol_glue.h +++ b/sokol_glue.h @@ -168,6 +168,7 @@ SOKOL_API_IMPL sg_environment sglue_environment(void) { res.vulkan.physical_device = env.vulkan.physical_device; res.vulkan.device = env.vulkan.device; res.vulkan.queue = env.vulkan.queue; + res.vulkan.queue_family_index = env.vulkan.queue_family_index; return res; } @@ -189,6 +190,11 @@ SOKOL_API_IMPL sg_swapchain sglue_swapchain_next(void) { res.wgpu.render_view = sc.wgpu.render_view; res.wgpu.resolve_view = sc.wgpu.resolve_view; res.wgpu.depth_stencil_view = sc.wgpu.depth_stencil_view; + res.vulkan.render_view = sc.vulkan.render_view; + res.vulkan.resolve_view = sc.vulkan.resolve_view; + res.vulkan.depth_stencil_view = sc.vulkan.depth_stencil_view; + res.vulkan.render_finished_semaphore = sc.vulkan.render_finished_semaphore; + res.vulkan.present_complete_semaphore = sc.vulkan.present_complete_semaphore; res.gl.framebuffer = sc.gl.framebuffer; return res; } -- cgit v1.2.3