fixing linter errors
Test / build_and_test (push) Successful in 5m28s
Build / build (push) Successful in 7m26s

This commit is contained in:
2026-07-15 15:39:16 +02:00
parent 1640013546
commit 2375abf688
116 changed files with 563 additions and 354 deletions
+2 -7
View File
@@ -1,7 +1,6 @@
const std = @import("std");
const builtin = @import("builtin");
const vk = @import("vulkan");
const config = @import("lib.zig").config;
const utils = @import("utils.zig");
const drm = @import("drm.zig");
const lib = @import("lib.zig");
@@ -23,12 +22,6 @@ comptime {
const Self = @This();
pub const ObjectType: vk.ObjectType = .instance;
const DeviceAllocator = struct {
pub inline fn allocator(_: @This()) std.mem.Allocator {
return std.heap.smp_allocator;
}
};
/// Dummy
pub const EXTENSIONS = [_]vk.ExtensionProperties{};
@@ -52,7 +45,9 @@ pub fn init(allocator: std.mem.Allocator, infos: *const vk.InstanceCreateInfo) V
_ = infos;
return .{
.physical_devices = .empty,
// SAFETY: the backend assigns both tables before returning the instance.
.dispatch_table = undefined,
// SAFETY: the backend assigns both tables before returning the instance.
.vtable = undefined,
};
}