From a7ce1b3a3903da1d5b10c7c961dd0157ab29da59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 12:35:17 +0000 Subject: [PATCH] Generated bindings v1.4.367 --- REGISTRY_COMMIT | 2 +- VERSION | 2 +- c/vendor/include/vulkan/vk_icd.h | 9 ++++++++ c/vendor/include/vulkan/vulkan_core.h | 25 +++++++++++++++++++++- vulkan.v | 30 ++++++++++++++++++++++++++- 5 files changed, 64 insertions(+), 4 deletions(-) diff --git a/REGISTRY_COMMIT b/REGISTRY_COMMIT index 1d55bd6..f48d587 100644 --- a/REGISTRY_COMMIT +++ b/REGISTRY_COMMIT @@ -1 +1 @@ -73814d006638aa00bd553215b054f0f02e457e22 +9fbc2a782ee3f8a4db64e7d991e23da75e893f44 diff --git a/VERSION b/VERSION index 24ae9cb..6d08582 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.4.366 +v1.4.367 diff --git a/c/vendor/include/vulkan/vk_icd.h b/c/vendor/include/vulkan/vk_icd.h index 38b137c..48a1646 100644 --- a/c/vendor/include/vulkan/vk_icd.h +++ b/c/vendor/include/vulkan/vk_icd.h @@ -118,6 +118,7 @@ typedef enum { VK_ICD_WSI_PLATFORM_GGP, VK_ICD_WSI_PLATFORM_SCREEN, VK_ICD_WSI_PLATFORM_FUCHSIA, + VK_ICD_WSI_PLATFORM_UBM, } VkIcdWsiPlatform; typedef struct { @@ -140,6 +141,14 @@ typedef struct { } VkIcdSurfaceWayland; #endif // VK_USE_PLATFORM_WAYLAND_KHR +#ifdef VK_USE_PLATFORM_UBM_SEC +typedef struct { + VkIcdSurfaceBase base; + struct ubm_device *device; + struct ubm_surface *surface; +} VkIcdSurfaceUbm; +#endif // VK_USE_PLATFORM_UBM_SEC + #ifdef VK_USE_PLATFORM_WIN32_KHR typedef struct { VkIcdSurfaceBase base; diff --git a/c/vendor/include/vulkan/vulkan_core.h b/c/vendor/include/vulkan/vulkan_core.h index 742eb2d..3d08ac8 100644 --- a/c/vendor/include/vulkan/vulkan_core.h +++ b/c/vendor/include/vulkan/vulkan_core.h @@ -61,7 +61,7 @@ extern "C" { //#define VK_API_VERSION VK_MAKE_API_VERSION(0, 1, 0, 0) // Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 366 +#define VK_HEADER_VERSION 367 // Complete version of this file #define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION) @@ -1482,6 +1482,8 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_NEURAL_STATISTICS_CREATE_INFO_ARM = 1000676001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_FEATURES_ARM = 1000676002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_RESTART_INDEX_FEATURES_EXT = 1000678000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_12_FEATURES_KHR = 1000680000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_12_PROPERTIES_KHR = 1000680001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_TILING_CONTROL_FEATURES_EXT = 1000687000, VK_STRUCTURE_TYPE_IMAGE_TILING_CONTROL_CREATE_INFO_EXT = 1000687001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_DECODE_VECTOR_FEATURES_NV = 1000689000, @@ -6223,6 +6225,7 @@ typedef enum VkDriverId { VK_DRIVER_ID_APEX = 32, VK_DRIVER_ID_NIKKI = 33, VK_DRIVER_ID_MOMOTEN = 34, + VK_DRIVER_ID_AURORA_BOREALIS = 35, VK_DRIVER_ID_AMD_PROPRIETARY_KHR = VK_DRIVER_ID_AMD_PROPRIETARY, VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR = VK_DRIVER_ID_AMD_OPEN_SOURCE, VK_DRIVER_ID_MESA_RADV_KHR = VK_DRIVER_ID_MESA_RADV, @@ -14992,6 +14995,26 @@ typedef struct VkSharedPresentSurfaceCapabilities2KHR { +// VK_KHR_maintenance12 is a preprocessor guard. Do not pass it to API calls. +#define VK_KHR_maintenance12 1 + +#define VK_KHR_MAINTENANCE_12_SPEC_VERSION 1 +#define VK_KHR_MAINTENANCE_12_EXTENSION_NAME "VK_KHR_maintenance12" + +typedef struct VkPhysicalDeviceMaintenance12FeaturesKHR { + VkStructureType sType; + void* pNext; + VkBool32 maintenance12; +} VkPhysicalDeviceMaintenance12FeaturesKHR; + +typedef struct VkPhysicalDeviceMaintenance12PropertiesKHR { + VkStructureType sType; + void* pNext; + uint32_t maxInputAttachmentIndex; +} VkPhysicalDeviceMaintenance12PropertiesKHR; + + + // VK_EXT_debug_report is a preprocessor guard. Do not pass it to API calls. #define VK_EXT_debug_report 1 diff --git a/vulkan.v b/vulkan.v index 8b80762..e0640dd 100644 --- a/vulkan.v +++ b/vulkan.v @@ -43,7 +43,7 @@ pub fn make_api_version(variant u32, major u32, minor u32, patch u32) u32 { } pub const api_version = make_api_version(0, 1, 0, 0) // Patch version should always be set to 0 -pub const header_version = 366 +pub const header_version = 367 pub const header_version_complete = make_api_version(0, 1, 4, header_version) pub fn make_version(major u32, minor u32, patch u32) u32 { @@ -1468,6 +1468,8 @@ pub enum StructureType as u32 { data_graph_pipeline_session_neural_statistics_create_info_arm = 1000676001 physical_device_data_graph_neural_accelerator_statistics_features_arm = 1000676002 physical_device_primitive_restart_index_features_ext = 1000678000 + physical_device_maintenance12_features_khr = 1000680000 + physical_device_maintenance12_properties_khr = 1000680001 physical_device_image_tiling_control_features_ext = 1000687000 image_tiling_control_create_info_ext = 1000687001 physical_device_cooperative_matrix_decode_vector_features_nv = 1000689000 @@ -8088,6 +8090,7 @@ pub enum DriverId as u32 { apex = 32 nikki = 33 momoten = 34 + aurora_borealis = 35 max_enum = max_int } @@ -19835,6 +19838,7 @@ pub mut: fn C.vkGetDeviceFaultReportsKHR( device Device, timeout u64, pFaultCounts &u32, mut_pFaultInfo &DeviceFaultInfoKHR) Result +// pFaultCounts Pointer. Required, but 0/NULL allowed // mut_pFaultInfo Optional, can be NULL or 0 pub type PFN_vkGetDeviceFaultReportsKHR = fn (device Device, timeout u64, pFaultCounts &u32, mut_pFaultInfo &DeviceFaultInfoKHR) Result @@ -20467,6 +20471,30 @@ pub mut: sharedPresentSupportedUsageFlags ImageUsageFlags2KHR } +pub const khr_maintenance_12_spec_version = 1 +pub const khr_maintenance_12_extension_name = c'VK_KHR_maintenance12' +// PhysicalDeviceMaintenance12FeaturesKHR extends VkPhysicalDeviceFeatures2,VkDeviceCreateInfo +pub type PhysicalDeviceMaintenance12FeaturesKHR = C.VkPhysicalDeviceMaintenance12FeaturesKHR + +@[typedef] +pub struct C.VkPhysicalDeviceMaintenance12FeaturesKHR { +pub mut: + sType StructureType = StructureType.physical_device_maintenance12_features_khr + pNext voidptr = unsafe { nil } + maintenance12 Bool32 +} + +// PhysicalDeviceMaintenance12PropertiesKHR extends VkPhysicalDeviceProperties2 +pub type PhysicalDeviceMaintenance12PropertiesKHR = C.VkPhysicalDeviceMaintenance12PropertiesKHR + +@[typedef] +pub struct C.VkPhysicalDeviceMaintenance12PropertiesKHR { +pub mut: + sType StructureType = StructureType.physical_device_maintenance12_properties_khr + pNext voidptr = unsafe { nil } + maxInputAttachmentIndex u32 +} + // Pointer to VkDebugReportCallbackEXT_T pub type DebugReportCallbackEXT = voidptr