implementing all event functions
Build / build (push) Successful in 2m48s
Test / build_and_test (push) Successful in 36m18s

This commit is contained in:
2026-04-28 02:32:10 +02:00
parent cfa3f28ceb
commit a19401b144
7 changed files with 161 additions and 58 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ pub const VTable = struct {
getStatus: *const fn (*Self) VkError!void,
reset: *const fn (*Self) VkError!void,
signal: *const fn (*Self) VkError!void,
wait: *const fn (*Self, u64) VkError!void,
wait: *const fn (*Self) VkError!void,
};
pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.EventCreateInfo) VkError!Self {
@@ -47,6 +47,6 @@ pub inline fn signal(self: *Self) VkError!void {
try self.vtable.signal(self);
}
pub inline fn wait(self: *Self, timeout: u64) VkError!void {
try self.vtable.wait(self, timeout);
pub inline fn wait(self: *Self) VkError!void {
try self.vtable.wait(self);
}