cleaning some corners
This commit is contained in:
@@ -2,7 +2,7 @@ const std = @import("std");
|
||||
const Step = std.Build.Step;
|
||||
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 {
|
||||
name: []const u8,
|
||||
|
||||
+4
-3
@@ -1,6 +1,7 @@
|
||||
.{
|
||||
.name = .VulkanDriver,
|
||||
.version = "0.0.1",
|
||||
.version = "2026.0.0",
|
||||
|
||||
.fingerprint = 0x52cb73649f1107de,
|
||||
.minimum_zig_version = "0.16.0",
|
||||
|
||||
@@ -32,8 +33,8 @@
|
||||
|
||||
// Soft dependencies
|
||||
.SPIRV_Interpreter = .{
|
||||
.url = "git+https://github.com/Kbz-8/SPIRV-Interpreter#32806def90a68f5f0514405d0ff8c1b0cb16772e",
|
||||
.hash = "SPIRV_Interpreter-0.0.1-ajmpn0qdCQANEex9HEO44N5dcyyOjYGzPCXlzdXhvnr7",
|
||||
.url = "git+https://github.com/Kbz-8/SPIRV-Interpreter#92e86ba34fccf32a30e6f717a9cafe0b9e95bb2a",
|
||||
.hash = "SPIRV_Interpreter-1.0.0-ajmpnwSKCQDjTAGgiw6N0rWdZiD3VdEMAE352RSpN4vl",
|
||||
.lazy = true,
|
||||
},
|
||||
//.SPIRV_Interpreter = .{
|
||||
|
||||
@@ -30,6 +30,8 @@ pub const EXTENSIONS = [_]vk.ExtensionProperties{
|
||||
castExtension(vk.extensions.khr_get_physical_device_properties_2),
|
||||
castExtension(vk.extensions.khr_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 {
|
||||
|
||||
@@ -43,7 +43,7 @@ pub fn init(allocator: std.mem.Allocator, instance: *Instance) VkError!Self {
|
||||
.vendor_id = root.VULKAN_VENDOR_ID,
|
||||
.device_id = 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,
|
||||
.limits = std.mem.zeroInit(vk.PhysicalDeviceLimits, .{}),
|
||||
.sparse_properties = undefined,
|
||||
|
||||
@@ -1504,11 +1504,7 @@ pub export fn apeGetDeviceGroupPresentCapabilitiesKHR(
|
||||
return .success;
|
||||
}
|
||||
|
||||
pub export fn apeGetDeviceGroupSurfacePresentModesKHR(
|
||||
p_device: vk.Device,
|
||||
p_surface: vk.SurfaceKHR,
|
||||
p_modes: *vk.DeviceGroupPresentModeFlagsKHR,
|
||||
) callconv(vk.vulkan_call_conv) vk.Result {
|
||||
pub export fn apeGetDeviceGroupSurfacePresentModesKHR(p_device: vk.Device, p_surface: vk.SurfaceKHR, p_modes: *vk.DeviceGroupPresentModeFlagsKHR) callconv(vk.vulkan_call_conv) vk.Result {
|
||||
entryPointBeginLogTrace(.vkGetDeviceGroupSurfacePresentModesKHR);
|
||||
defer entryPointEndLogTrace();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user