Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REGISTRY_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
73814d006638aa00bd553215b054f0f02e457e22
9fbc2a782ee3f8a4db64e7d991e23da75e893f44
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.366
v1.4.367
9 changes: 9 additions & 0 deletions c/vendor/include/vulkan/vk_icd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down
25 changes: 24 additions & 1 deletion c/vendor/include/vulkan/vulkan_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down
30 changes: 29 additions & 1 deletion vulkan.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -8088,6 +8090,7 @@ pub enum DriverId as u32 {
apex = 32
nikki = 33
momoten = 34
aurora_borealis = 35
max_enum = max_int
}

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Loading