fixing vertex outputs
Test / build_and_test (push) Successful in 2m19s
Build / build (push) Successful in 4m2s

This commit is contained in:
2026-07-02 21:00:56 +02:00
parent 23c3731f06
commit d4ac14ae92
22 changed files with 259 additions and 85 deletions
-8
View File
@@ -31,14 +31,7 @@ const VkError = base.VkError;
const Self = @This();
pub const Interface = base.Device;
const DeviceAllocator = struct {
pub inline fn allocator(_: @This()) std.mem.Allocator {
return base.fallback_host_allocator;
}
};
interface: Interface,
allocator: DeviceAllocator,
pub fn create(instance: *base.Instance, physical_device: *base.PhysicalDevice, allocator: std.mem.Allocator, info: *const vk.DeviceCreateInfo) VkError!*Self {
const self = allocator.create(Self) catch return VkError.OutOfHostMemory;
@@ -80,7 +73,6 @@ pub fn create(instance: *base.Instance, physical_device: *base.PhysicalDevice, a
self.* = .{
.interface = interface,
.allocator = .{},
};
try self.interface.createQueues(allocator, info);