adding command buffer states
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,10 @@ pub const DEVICE_ID = 0x600DCAFE;
|
||||
|
||||
pub const std_options = base.std_options;
|
||||
|
||||
comptime {
|
||||
_ = base;
|
||||
}
|
||||
|
||||
test {
|
||||
std.testing.refAllDeclsRecursive(@This());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user