Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated bindings #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 .commits
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
KhronosGroup/Vulkan-Docs/main/xml/vk.xml => 45c1f5dba1f3cbd56f3361147cd559ff804589b9
KhronosGroup/Vulkan-Docs/main/xml/vk.xml => d095b206f80dc85140898a7979b2c3bb81aeb7f9
KhronosGroup/Vulkan-Headers/main/include/vk_video => 5a5c9a643484d888873e32c5d7d484fae8e71d3d
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@
- [minor wording change to avoid ambiguity in 'the act of waiting'. (#2418)](https://github.com/KhronosGroup/Vulkan-Docs/commit/ccd06598b7745aca51ea45c27055f5fe9573114d)
- [August 30, 2024 Vulkan 1.3.295 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/8e435deb15124bbf9a7e3340e6cc7975999ed5c5)
- [Rename Lina's GitHub username to @linyaa-kiwi (#2432)](https://github.com/KhronosGroup/Vulkan-Docs/commit/45c1f5dba1f3cbd56f3361147cd559ff804589b9)
- [Support the `stride` attribute for array pointers in both command (#2437)](https://github.com/KhronosGroup/Vulkan-Docs/commit/eab3ac3bc5a2f9e0cf7096dcee742fea791df88a)
- [September 26, 2024 Vulkan 1.3.296 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/486e4b289053a7d64784e7ce791711843c60c235)
- [Fix references to images in proposal documents (#2441)](https://github.com/KhronosGroup/Vulkan-Docs/commit/817d35d46b04324b196b02b64359724d04b6b880)
- [Fix misuse of spec macro in a proposal document](https://github.com/KhronosGroup/Vulkan-Docs/commit/d78959ab68122f270b95447317ebe22ae1f19a78)
- [Fix missing attribute in another proposal document](https://github.com/KhronosGroup/Vulkan-Docs/commit/bfd68417298c69ca3608ae4756206c9e6a9edd11)
- [October 4, 2024 Vulkan 1.3.297 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/74d7efc182c8e91002221c68f321c05fd596cc70)
- [Update VK_AMDX_shader_enqueue to v2 (#2442)](https://github.com/KhronosGroup/Vulkan-Docs/commit/03f2654057e1d97a5fa824f4bdd5e235a5829b9c)
- [Add location order to the definition of from-reads (#2402)](https://github.com/KhronosGroup/Vulkan-Docs/commit/2ff3b679e9ec24498218c11d01b769bc8bb97496)
- [October 11, 2024 Vulkan 1.3.298 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/05d5444cce55e340e07ead87d552407da5ea8771)
- [October 18, 2024 Vulkan 1.3.299 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/46e04bb59e0f85b9124899e694a477dd9025d17c)
- [added SHADY author id (#2448)](https://github.com/KhronosGroup/Vulkan-Docs/commit/e3a413637f200c872461c14ff397af01043a3958)
- [Migrate Antora makefile targets into top-level Makefile (#2450)](https://github.com/KhronosGroup/Vulkan-Docs/commit/f3a114c4841d065e64fbc1d10fbe7f768867b96d)
- [October 25, 2024 Vulkan 1.3.300 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/c9304f8dd1aa20183942c6a3638b28c81b4e681d)
- [Do not remove nav.adoc target in clean rules](https://github.com/KhronosGroup/Vulkan-Docs/commit/30b651ee3ba1d19d23056be8e00549cd29ed42b0)
- [Add docs.vulkan.org page information to validusage.json (#2453)](https://github.com/KhronosGroup/Vulkan-Docs/commit/69bbb65bc0ab16ee87d631ea6f25f6687facf3df)
- [November 1, 2024 Vulkan 1.3.301 spec update](https://github.com/KhronosGroup/Vulkan-Docs/commit/d095b206f80dc85140898a7979b2c3bb81aeb7f9)

## [0.25.0] - 2024-08-22

Expand Down
24 changes: 24 additions & 0 deletions vulkanalia-sys/src/bitmasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ bitflags! {
const MICROMAP_STORAGE_EXT = 1 << 24;
const EXECUTION_GRAPH_SCRATCH_AMDX = 1 << 25;
const PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT = 1 << 26;
const PREPROCESS_BUFFER_EXT = 1 << 31;
}
}

Expand Down Expand Up @@ -1056,6 +1057,26 @@ bitflags! {
}
}

bitflags! {
/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkIndirectCommandsInputModeFlagsEXT.html>
#[repr(transparent)]
#[derive(Default)]
pub struct IndirectCommandsInputModeFlagsEXT: Flags {
const VULKAN_INDEX_BUFFER = 1;
const DXGI_INDEX_BUFFER = 1 << 1;
}
}

bitflags! {
/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkIndirectCommandsLayoutUsageFlagsEXT.html>
#[repr(transparent)]
#[derive(Default)]
pub struct IndirectCommandsLayoutUsageFlagsEXT: Flags {
const EXPLICIT_PREPROCESS = 1;
const UNORDERED_SEQUENCES = 1 << 1;
}
}

bitflags! {
/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkIndirectCommandsLayoutUsageFlagsNV.html>
#[repr(transparent)]
Expand Down Expand Up @@ -1375,7 +1396,9 @@ bitflags! {
const DESCRIPTOR_BUFFER_EXT = 1 << 29;
const PROTECTED_ACCESS_ONLY_EXT = 1 << 30;
const CAPTURE_DATA = 1 << 31;
const EXECUTION_GRAPH_AMDX = 1 << 32;
const ENABLE_LEGACY_DITHERING_EXT = 1 << 34;
const INDIRECT_BINDABLE_EXT = 1 << 38;
}
}

Expand Down Expand Up @@ -1805,6 +1828,7 @@ bitflags! {
const DISPATCH_BASE = 1 << 4;
const FRAGMENT_SHADING_RATE_ATTACHMENT = 1 << 5;
const FRAGMENT_DENSITY_MAP_ATTACHMENT = 1 << 6;
const INDIRECT_BINDABLE = 1 << 7;
}
}

Expand Down
93 changes: 91 additions & 2 deletions vulkanalia-sys/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,20 +690,23 @@ pub type PFN_vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBase;
pub type PFN_vkCmdDispatchGraphAMDX = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_scratch: DeviceAddress,
_scratch_size: DeviceSize,
_count_info: *const DispatchGraphCountInfoAMDX,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchGraphIndirectAMDX.html>
pub type PFN_vkCmdDispatchGraphIndirectAMDX = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_scratch: DeviceAddress,
_scratch_size: DeviceSize,
_count_info: *const DispatchGraphCountInfoAMDX,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchGraphIndirectCountAMDX.html>
pub type PFN_vkCmdDispatchGraphIndirectCountAMDX = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_scratch: DeviceAddress,
_scratch_size: DeviceSize,
_count_info: DeviceAddress,
);

Expand Down Expand Up @@ -943,6 +946,13 @@ pub type PFN_vkCmdExecuteCommands = unsafe extern "system" fn(
_command_buffers: *const CommandBuffer,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdExecuteGeneratedCommandsEXT.html>
pub type PFN_vkCmdExecuteGeneratedCommandsEXT = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_is_preprocessed: Bool32,
_generated_commands_info: *const GeneratedCommandsInfoEXT,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdExecuteGeneratedCommandsNV.html>
pub type PFN_vkCmdExecuteGeneratedCommandsNV = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
Expand All @@ -960,8 +970,12 @@ pub type PFN_vkCmdFillBuffer = unsafe extern "system" fn(
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdInitializeGraphScratchMemoryAMDX.html>
pub type PFN_vkCmdInitializeGraphScratchMemoryAMDX =
unsafe extern "system" fn(_command_buffer: CommandBuffer, _scratch: DeviceAddress);
pub type PFN_vkCmdInitializeGraphScratchMemoryAMDX = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_execution_graph: Pipeline,
_scratch: DeviceAddress,
_scratch_size: DeviceSize,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdInsertDebugUtilsLabelEXT.html>
pub type PFN_vkCmdInsertDebugUtilsLabelEXT = unsafe extern "system" fn(
Expand Down Expand Up @@ -1013,6 +1027,13 @@ pub type PFN_vkCmdPipelineBarrier2 = unsafe extern "system" fn(
/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPipelineBarrier2KHR.html>
pub type PFN_vkCmdPipelineBarrier2KHR = PFN_vkCmdPipelineBarrier2;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPreprocessGeneratedCommandsEXT.html>
pub type PFN_vkCmdPreprocessGeneratedCommandsEXT = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_generated_commands_info: *const GeneratedCommandsInfoEXT,
_state_command_buffer: CommandBuffer,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPreprocessGeneratedCommandsNV.html>
pub type PFN_vkCmdPreprocessGeneratedCommandsNV = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
Expand Down Expand Up @@ -1269,6 +1290,13 @@ pub type PFN_vkCmdSetDepthBoundsTestEnableEXT = PFN_vkCmdSetDepthBoundsTestEnabl
pub type PFN_vkCmdSetDepthClampEnableEXT =
unsafe extern "system" fn(_command_buffer: CommandBuffer, _depth_clamp_enable: Bool32);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthClampRangeEXT.html>
pub type PFN_vkCmdSetDepthClampRangeEXT = unsafe extern "system" fn(
_command_buffer: CommandBuffer,
_depth_clamp_mode: DepthClampModeEXT,
_depth_clamp_range: *const DepthClampRangeEXT,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthClipEnableEXT.html>
pub type PFN_vkCmdSetDepthClipEnableEXT =
unsafe extern "system" fn(_command_buffer: CommandBuffer, _depth_clip_enable: Bool32);
Expand Down Expand Up @@ -2148,6 +2176,14 @@ pub type PFN_vkCreateImageView = unsafe extern "system" fn(
_view: *mut ImageView,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreateIndirectCommandsLayoutEXT.html>
pub type PFN_vkCreateIndirectCommandsLayoutEXT = unsafe extern "system" fn(
_device: Device,
_create_info: *const IndirectCommandsLayoutCreateInfoEXT,
_allocator: *const AllocationCallbacks,
_indirect_commands_layout: *mut IndirectCommandsLayoutEXT,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreateIndirectCommandsLayoutNV.html>
pub type PFN_vkCreateIndirectCommandsLayoutNV = unsafe extern "system" fn(
_device: Device,
Expand All @@ -2156,6 +2192,14 @@ pub type PFN_vkCreateIndirectCommandsLayoutNV = unsafe extern "system" fn(
_indirect_commands_layout: *mut IndirectCommandsLayoutNV,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreateIndirectExecutionSetEXT.html>
pub type PFN_vkCreateIndirectExecutionSetEXT = unsafe extern "system" fn(
_device: Device,
_create_info: *const IndirectExecutionSetCreateInfoEXT,
_allocator: *const AllocationCallbacks,
_indirect_execution_set: *mut IndirectExecutionSetEXT,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreateInstance.html>
pub type PFN_vkCreateInstance = unsafe extern "system" fn(
_create_info: *const InstanceCreateInfo,
Expand Down Expand Up @@ -2609,13 +2653,27 @@ pub type PFN_vkDestroyImageView = unsafe extern "system" fn(
_allocator: *const AllocationCallbacks,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkDestroyIndirectCommandsLayoutEXT.html>
pub type PFN_vkDestroyIndirectCommandsLayoutEXT = unsafe extern "system" fn(
_device: Device,
_indirect_commands_layout: IndirectCommandsLayoutEXT,
_allocator: *const AllocationCallbacks,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkDestroyIndirectCommandsLayoutNV.html>
pub type PFN_vkDestroyIndirectCommandsLayoutNV = unsafe extern "system" fn(
_device: Device,
_indirect_commands_layout: IndirectCommandsLayoutNV,
_allocator: *const AllocationCallbacks,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkDestroyIndirectExecutionSetEXT.html>
pub type PFN_vkDestroyIndirectExecutionSetEXT = unsafe extern "system" fn(
_device: Device,
_indirect_execution_set: IndirectExecutionSetEXT,
_allocator: *const AllocationCallbacks,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkDestroyInstance.html>
pub type PFN_vkDestroyInstance =
unsafe extern "system" fn(_instance: Instance, _allocator: *const AllocationCallbacks);
Expand Down Expand Up @@ -3298,6 +3356,13 @@ pub type PFN_vkGetFramebufferTilePropertiesQCOM = unsafe extern "system" fn(
_properties: *mut TilePropertiesQCOM,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html>
pub type PFN_vkGetGeneratedCommandsMemoryRequirementsEXT = unsafe extern "system" fn(
_device: Device,
_info: *const GeneratedCommandsMemoryRequirementsInfoEXT,
_memory_requirements: *mut MemoryRequirements2,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html>
pub type PFN_vkGetGeneratedCommandsMemoryRequirementsNV = unsafe extern "system" fn(
_device: Device,
Expand Down Expand Up @@ -3519,6 +3584,14 @@ pub type PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = unsafe extern "sys
_time_domains: *mut TimeDomainKHR,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html>
pub type PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV =
unsafe extern "system" fn(
_physical_device: PhysicalDevice,
_property_count: *mut u32,
_properties: *mut CooperativeMatrixFlexibleDimensionsPropertiesNV,
) -> Result;

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html>
pub type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR =
unsafe extern "system" fn(
Expand Down Expand Up @@ -4618,6 +4691,22 @@ pub type PFN_vkUpdateDescriptorSets = unsafe extern "system" fn(
_descriptor_copies: *const CopyDescriptorSet,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html>
pub type PFN_vkUpdateIndirectExecutionSetPipelineEXT = unsafe extern "system" fn(
_device: Device,
_indirect_execution_set: IndirectExecutionSetEXT,
_execution_set_write_count: u32,
_execution_set_writes: *const WriteIndirectExecutionSetPipelineEXT,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkUpdateIndirectExecutionSetShaderEXT.html>
pub type PFN_vkUpdateIndirectExecutionSetShaderEXT = unsafe extern "system" fn(
_device: Device,
_indirect_execution_set: IndirectExecutionSetEXT,
_execution_set_write_count: u32,
_execution_set_writes: *const WriteIndirectExecutionSetShaderEXT,
);

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkUpdateVideoSessionParametersKHR.html>
pub type PFN_vkUpdateVideoSessionParametersKHR = unsafe extern "system" fn(
_device: Device,
Expand Down
Loading