working on descriptor sets
All checks were successful
Build / build (push) Successful in 1m58s
Test / build_and_test (push) Successful in 38m44s

This commit is contained in:
2026-02-17 02:22:43 +01:00
parent 12a5902cb9
commit b9ef230c0e
7 changed files with 83 additions and 40 deletions

View File

@@ -29,6 +29,7 @@ heap: []u8,
bindings: []BindingLayout,
dynamic_offset_count: usize,
dynamic_descriptor_count: usize,
/// Shader stages affected by this descriptor set
stages: vk.ShaderStageFlags,
@@ -113,6 +114,7 @@ pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.Descr
.heap = heap,
.bindings = bindings,
.dynamic_offset_count = 0,
.dynamic_descriptor_count = 0,
.stages = stages,
.ref_count = std.atomic.Value(usize).init(1),
.vtable = undefined,