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
+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_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 {
+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,
.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,
+1 -5
View File
@@ -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();