cleaning some corners
Build / build (push) Failing after 35s
Test / build_and_test (push) Failing after 39s

This commit is contained in:
2026-07-04 22:33:57 +02:00
parent e6538d221f
commit 67014b9c4e
5 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ const std = @import("std");
const Step = std.Build.Step; const Step = std.Build.Step;
const builtin = @import("builtin"); const builtin = @import("builtin");
const driver_version: std.SemanticVersion = .{ .major = 1, .minor = 0, .patch = 0 }; const driver_version: std.SemanticVersion = .{ .major = 2026, .minor = 0, .patch = 0 };
const ImplementationDesc = struct { const ImplementationDesc = struct {
name: []const u8, name: []const u8,
+4 -3
View File
@@ -1,6 +1,7 @@
.{ .{
.name = .VulkanDriver, .name = .VulkanDriver,
.version = "0.0.1", .version = "2026.0.0",
.fingerprint = 0x52cb73649f1107de, .fingerprint = 0x52cb73649f1107de,
.minimum_zig_version = "0.16.0", .minimum_zig_version = "0.16.0",
@@ -32,8 +33,8 @@
// Soft dependencies // Soft dependencies
.SPIRV_Interpreter = .{ .SPIRV_Interpreter = .{
.url = "git+https://github.com/Kbz-8/SPIRV-Interpreter#32806def90a68f5f0514405d0ff8c1b0cb16772e", .url = "git+https://github.com/Kbz-8/SPIRV-Interpreter#92e86ba34fccf32a30e6f717a9cafe0b9e95bb2a",
.hash = "SPIRV_Interpreter-0.0.1-ajmpn0qdCQANEex9HEO44N5dcyyOjYGzPCXlzdXhvnr7", .hash = "SPIRV_Interpreter-1.0.0-ajmpnwSKCQDjTAGgiw6N0rWdZiD3VdEMAE352RSpN4vl",
.lazy = true, .lazy = true,
}, },
//.SPIRV_Interpreter = .{ //.SPIRV_Interpreter = .{
+2
View File
@@ -30,6 +30,8 @@ pub const EXTENSIONS = [_]vk.ExtensionProperties{
castExtension(vk.extensions.khr_get_physical_device_properties_2), castExtension(vk.extensions.khr_get_physical_device_properties_2),
castExtension(vk.extensions.khr_surface), castExtension(vk.extensions.khr_surface),
castExtension(vk.extensions.khr_wayland_surface), castExtension(vk.extensions.khr_wayland_surface),
//castExtension(vk.extensions.khr_xlib_surface),
//castExtension(vk.extensions.khr_xcb_surface),
}; };
pub fn create(allocator: std.mem.Allocator, infos: *const vk.InstanceCreateInfo) VkError!*Interface { pub fn create(allocator: std.mem.Allocator, infos: *const vk.InstanceCreateInfo) VkError!*Interface {
+1 -1
View File
@@ -43,7 +43,7 @@ pub fn init(allocator: std.mem.Allocator, instance: *Instance) VkError!Self {
.vendor_id = root.VULKAN_VENDOR_ID, .vendor_id = root.VULKAN_VENDOR_ID,
.device_id = undefined, .device_id = undefined,
.device_type = undefined, .device_type = undefined,
.device_name = [_]u8{0} ** vk.MAX_PHYSICAL_DEVICE_NAME_SIZE, .device_name = @as([vk.MAX_PHYSICAL_DEVICE_NAME_SIZE]u8, @splat(0)),
.pipeline_cache_uuid = undefined, .pipeline_cache_uuid = undefined,
.limits = std.mem.zeroInit(vk.PhysicalDeviceLimits, .{}), .limits = std.mem.zeroInit(vk.PhysicalDeviceLimits, .{}),
.sparse_properties = undefined, .sparse_properties = undefined,
+1 -5
View File
@@ -1504,11 +1504,7 @@ pub export fn apeGetDeviceGroupPresentCapabilitiesKHR(
return .success; return .success;
} }
pub export fn apeGetDeviceGroupSurfacePresentModesKHR( pub export fn apeGetDeviceGroupSurfacePresentModesKHR(p_device: vk.Device, p_surface: vk.SurfaceKHR, p_modes: *vk.DeviceGroupPresentModeFlagsKHR) callconv(vk.vulkan_call_conv) vk.Result {
p_device: vk.Device,
p_surface: vk.SurfaceKHR,
p_modes: *vk.DeviceGroupPresentModeFlagsKHR,
) callconv(vk.vulkan_call_conv) vk.Result {
entryPointBeginLogTrace(.vkGetDeviceGroupSurfacePresentModesKHR); entryPointBeginLogTrace(.vkGetDeviceGroupSurfacePresentModesKHR);
defer entryPointEndLogTrace(); defer entryPointEndLogTrace();