From 7d226087e4cb4a49ffe212df1e370633b7ce0614 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Sun, 10 May 2026 01:04:00 +0200 Subject: [PATCH] test --- src/soft/SoftCommandBuffer.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soft/SoftCommandBuffer.zig b/src/soft/SoftCommandBuffer.zig index 2a114da..62c3e13 100644 --- a/src/soft/SoftCommandBuffer.zig +++ b/src/soft/SoftCommandBuffer.zig @@ -106,8 +106,9 @@ pub fn execute(self: *Self, device: *ExecutionDevice) void { } pub fn begin(interface: *Interface, _: *const vk.CommandBufferBeginInfo) VkError!void { - // No-op - _ = interface; + const self: *Self = @alignCast(@fieldParentPtr("interface", interface)); + self.commands.clearAndFree(self.command_allocator.allocator()); + _ = self.command_allocator.reset(.free_all); } pub fn end(interface: *Interface) VkError!void {