diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-11-02 12:44:14 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-11-02 12:44:14 +0100 |
| commit | cb1ac4939fbc6b44d6ab0eb9ff79efa8c87a4273 (patch) | |
| tree | 54384ba775120d4ef7527c465843c95994976938 | |
| parent | 84ee4c97dc681aa4d5c8b4edf0d547ef59227c6e (diff) | |
sokol_app.h vk: require VK_EXT_descriptor_buffer
| -rw-r--r-- | sokol_app.h | 1 | ||||
| -rw-r--r-- | sokol_gfx.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h index 4807bfc3..735bff2b 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -4343,6 +4343,7 @@ _SOKOL_PRIVATE uint32_t _sapp_vk_get_device_extensions(const char** out_names, u out_names[count++] = VK_KHR_SPIRV_1_4_EXTENSION_NAME; out_names[count++] = VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME; out_names[count++] = VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME; + out_names[count++] = VK_EXT_DESCRIPTOR_BUFFER_EXTENSION_NAME; SOKOL_ASSERT(count <= max_count); return count; } diff --git a/sokol_gfx.h b/sokol_gfx.h index d62df26f..8910f7b6 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -19042,6 +19042,8 @@ _SOKOL_PRIVATE void _sg_vk_shared_buffer_after_acquire(_sg_vk_shared_buffer_t* s shbuf->offset = 0; shbuf->cur_buf = shbuf->slots[frame_slot].buf; shbuf->cur_mem_ptr = shbuf->slots[frame_slot].mem_ptr; + SOKOL_ASSERT(shbuf->cur_buf); + SOKOL_ASSERT(shbuf->cur_mem_ptr); } _SOKOL_PRIVATE void _sg_vk_shared_buffer_before_submit(_sg_vk_shared_buffer_t* shbuf) { |