aboutsummaryrefslogtreecommitdiff
path: root/sokol_glue.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-10-13 20:38:26 +0200
committerAndre Weissflog <floooh@gmail.com>2025-10-13 20:38:26 +0200
commita3f43a70cd7860632dbb7040686148a0d452d618 (patch)
tree5c8923e581e40679741efcb50480e948feb8e8f3 /sokol_glue.h
parenta154d98439d468bbdab1cc53e5c8edb15e72607c (diff)
sokol_gfx.h vk: _sg_vk_begin_pass/commit wip
Diffstat (limited to 'sokol_glue.h')
-rw-r--r--sokol_glue.h6
1 files changed, 6 insertions, 0 deletions
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;
}