fixing soft command buffer
Test / build_and_test (push) Successful in 1m2s
Build / build (push) Successful in 1m32s

This commit is contained in:
2026-05-10 22:09:51 +02:00
parent e9454ddd9a
commit 215486ac34
4 changed files with 81 additions and 70 deletions
+2 -3
View File
@@ -106,9 +106,8 @@ pub fn execute(self: *Self, device: *ExecutionDevice) void {
}
pub fn begin(interface: *Interface, _: *const vk.CommandBufferBeginInfo) VkError!void {
const self: *Self = @alignCast(@fieldParentPtr("interface", interface));
self.commands.clearAndFree(self.command_allocator.allocator());
_ = self.command_allocator.reset(.free_all);
// No-op
_ = interface;
}
pub fn end(interface: *Interface) VkError!void {