test
This commit is contained in:
@@ -106,8 +106,9 @@ pub fn execute(self: *Self, device: *ExecutionDevice) void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn begin(interface: *Interface, _: *const vk.CommandBufferBeginInfo) VkError!void {
|
pub fn begin(interface: *Interface, _: *const vk.CommandBufferBeginInfo) VkError!void {
|
||||||
// No-op
|
const self: *Self = @alignCast(@fieldParentPtr("interface", interface));
|
||||||
_ = interface;
|
self.commands.clearAndFree(self.command_allocator.allocator());
|
||||||
|
_ = self.command_allocator.reset(.free_all);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn end(interface: *Interface) VkError!void {
|
pub fn end(interface: *Interface) VkError!void {
|
||||||
|
|||||||
Reference in New Issue
Block a user