adding device memory support, fences base

This commit is contained in:
2025-11-09 00:34:52 +01:00
parent 4b23abe795
commit e89d1ff8d9
14 changed files with 381 additions and 27 deletions

View File

@@ -1,11 +1,12 @@
//! A Zig allocator from VkAllocationCallbacks.
//! Falls back on c_allocator if callbacks passed are null
const std = @import("std");
const vk = @import("vulkan");
const Allocator = std.mem.Allocator;
const Alignment = std.mem.Alignment;
/// A Zig allocator from VkAllocationCallbacks.
/// Falls back on c_allocator if callbacks passed are null
const Self = @This();
callbacks: ?vk.AllocationCallbacks,