adding command buffer states

This commit is contained in:
2025-11-18 00:00:11 +01:00
parent 5661505bef
commit 5bfc0e6254
9 changed files with 88 additions and 17 deletions

View File

@@ -23,6 +23,7 @@ pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const v
interface.dispatch_table = &.{
.begin = begin,
.end = end,
.reset = reset,
};
self.* = .{
@@ -44,3 +45,8 @@ pub fn begin(interface: *Interface, info: *const vk.CommandBufferBeginInfo) VkEr
pub fn end(interface: *Interface) VkError!void {
_ = interface;
}
pub fn reset(interface: *Interface, flags: vk.CommandBufferResetFlags) VkError!void {
_ = interface;
_ = flags;
}

View File

@@ -23,6 +23,10 @@ pub const DEVICE_ID = 0x600DCAFE;
pub const std_options = base.std_options;
comptime {
_ = base;
}
test {
std.testing.refAllDeclsRecursive(@This());
}