Descriptor update

Updated descriptor set build to use function parameters instead of
global vars

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
Piotr Krygier
2026-02-09 17:37:28 +01:00
parent 493afb05e6
commit b7a472fe45
4 changed files with 30 additions and 23 deletions
+6
View File
@@ -180,6 +180,12 @@ struct descriptor_data_t
VkDescriptorSetLayout set_layouts[DESCRIPTOR_MAX_SETS];
};
struct descriptor_set_layout_bindings_t
{
VkDescriptorSetLayoutBinding layout_bindings[DESCRIPTOR_MAX_SETS];
uint32_t layout_bindings_count;
};
struct render_target_t
{
struct vulkan_buffer_t vertex_buffer;