ci skip; start of update to zig 0.16
Build / build (push) Has been skipped
Test / build_and_test (push) Has been skipped

This commit is contained in:
2026-04-16 22:15:07 +02:00
parent ee0ffbe09d
commit 5be875c07e
15 changed files with 243 additions and 105 deletions
+5
View File
@@ -21,6 +21,7 @@ pub const VTable = struct {
allocateDescriptorSet: *const fn (*Self, *DescriptorSetLayout) VkError!*DescriptorSet,
destroy: *const fn (*Self, std.mem.Allocator) void,
freeDescriptorSet: *const fn (*Self, *DescriptorSet) VkError!void,
reset: *const fn (*Self, vk.DescriptorPoolResetFlags) VkError!void,
};
pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.DescriptorPoolCreateInfo) VkError!Self {
@@ -43,3 +44,7 @@ pub inline fn destroy(self: *Self, allocator: std.mem.Allocator) void {
pub inline fn freeDescriptorSet(self: *Self, set: *DescriptorSet) VkError!void {
try self.vtable.freeDescriptorSet(self, set);
}
pub inline fn reset(self: *Self, flags: vk.DescriptorPoolResetFlags) VkError!void {
try self.vtable.reset(self, flags);
}