Skip to content

Commit e589cf7

Browse files
committed
Update Vulkan-Headers to 1.4.329
1 parent cfb918f commit e589cf7

File tree

15 files changed

+4001
-507
lines changed

15 files changed

+4001
-507
lines changed

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Added `push()` method to all root structs to insert a single extension-struct in the pointer chain. (#909)
13-
- Update Vulkan-Headers to 1.4.318 (#910, #951)
13+
- Update Vulkan-Headers to 1.4.329 (#910, #951)
1414
- Added `VK_KHR_get_display_properties2` instance extension (#932)
1515
- Added `VK_EXT_metal_objects` device extension (#942)
1616
- Added `VK_AMD_anti_lag` device extension (#943)

ash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ash"
3-
version = "0.38.0+1.4.318"
3+
version = "0.38.0+1.4.329"
44
authors = [
55
"Maik Klein <[email protected]>",
66
"Benjamin Saunders <[email protected]>",

ash/src/extensions_generated.rs

Lines changed: 558 additions & 2 deletions
Large diffs are not rendered by default.

ash/src/tables.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,24 @@ impl EntryFnV1_0 {
114114
pub struct InstanceFnV1_0 {
115115
pub destroy_instance: PFN_vkDestroyInstance,
116116
pub enumerate_physical_devices: PFN_vkEnumeratePhysicalDevices,
117+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
117118
pub get_physical_device_features: PFN_vkGetPhysicalDeviceFeatures,
119+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
118120
pub get_physical_device_format_properties: PFN_vkGetPhysicalDeviceFormatProperties,
121+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
119122
pub get_physical_device_image_format_properties: PFN_vkGetPhysicalDeviceImageFormatProperties,
123+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
120124
pub get_physical_device_properties: PFN_vkGetPhysicalDeviceProperties,
125+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
121126
pub get_physical_device_queue_family_properties: PFN_vkGetPhysicalDeviceQueueFamilyProperties,
127+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
122128
pub get_physical_device_memory_properties: PFN_vkGetPhysicalDeviceMemoryProperties,
123129
pub get_device_proc_addr: PFN_vkGetDeviceProcAddr,
124130
pub create_device: PFN_vkCreateDevice,
125131
pub enumerate_device_extension_properties: PFN_vkEnumerateDeviceExtensionProperties,
132+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-devicelayers>"]
126133
pub enumerate_device_layer_properties: PFN_vkEnumerateDeviceLayerProperties,
134+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-gpdp2>"]
127135
pub get_physical_device_sparse_image_format_properties:
128136
PFN_vkGetPhysicalDeviceSparseImageFormatProperties,
129137
}
@@ -458,10 +466,15 @@ pub struct DeviceFnV1_0 {
458466
pub allocate_descriptor_sets: PFN_vkAllocateDescriptorSets,
459467
pub free_descriptor_sets: PFN_vkFreeDescriptorSets,
460468
pub update_descriptor_sets: PFN_vkUpdateDescriptorSets,
469+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
461470
pub create_framebuffer: PFN_vkCreateFramebuffer,
471+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
462472
pub destroy_framebuffer: PFN_vkDestroyFramebuffer,
473+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-renderpass2>"]
463474
pub create_render_pass: PFN_vkCreateRenderPass,
475+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
464476
pub destroy_render_pass: PFN_vkDestroyRenderPass,
477+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
465478
pub get_render_area_granularity: PFN_vkGetRenderAreaGranularity,
466479
pub create_command_pool: PFN_vkCreateCommandPool,
467480
pub destroy_command_pool: PFN_vkDestroyCommandPool,
@@ -511,8 +524,11 @@ pub struct DeviceFnV1_0 {
511524
pub cmd_write_timestamp: PFN_vkCmdWriteTimestamp,
512525
pub cmd_copy_query_pool_results: PFN_vkCmdCopyQueryPoolResults,
513526
pub cmd_push_constants: PFN_vkCmdPushConstants,
527+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-renderpass2>"]
514528
pub cmd_begin_render_pass: PFN_vkCmdBeginRenderPass,
529+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-renderpass2>"]
515530
pub cmd_next_subpass: PFN_vkCmdNextSubpass,
531+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-renderpass2>"]
516532
pub cmd_end_render_pass: PFN_vkCmdEndRenderPass,
517533
pub cmd_execute_commands: PFN_vkCmdExecuteCommands,
518534
}
@@ -3309,9 +3325,13 @@ pub struct InstanceFnV1_2;
33093325
pub struct DeviceFnV1_2 {
33103326
pub cmd_draw_indirect_count: PFN_vkCmdDrawIndirectCount,
33113327
pub cmd_draw_indexed_indirect_count: PFN_vkCmdDrawIndexedIndirectCount,
3328+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
33123329
pub create_render_pass2: PFN_vkCreateRenderPass2,
3330+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
33133331
pub cmd_begin_render_pass2: PFN_vkCmdBeginRenderPass2,
3332+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
33143333
pub cmd_next_subpass2: PFN_vkCmdNextSubpass2,
3334+
#[deprecated = "<https://docs.vulkan.org/spec/latest/appendices/legacy.html#deprecation-dynamicrendering>"]
33153335
pub cmd_end_render_pass2: PFN_vkCmdEndRenderPass2,
33163336
pub reset_query_pool: PFN_vkResetQueryPool,
33173337
pub get_semaphore_counter_value: PFN_vkGetSemaphoreCounterValue,

ash/src/vk/aliases.rs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ pub type ResolveModeFlagsKHR = ResolveModeFlags;
3131
pub type ToolPurposeFlagsEXT = ToolPurposeFlags;
3232
pub type SubmitFlagsKHR = SubmitFlags;
3333
pub type HostImageCopyFlagsEXT = HostImageCopyFlags;
34+
pub type PresentScalingFlagsEXT = PresentScalingFlagsKHR;
35+
pub type PresentGravityFlagsEXT = PresentGravityFlagsKHR;
3436
pub type DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate;
3537
pub type SamplerYcbcrConversionKHR = SamplerYcbcrConversion;
3638
pub type PrivateDataSlotEXT = PrivateDataSlot;
@@ -58,6 +60,8 @@ pub type SamplerReductionModeEXT = SamplerReductionMode;
5860
pub type ShaderFloatControlsIndependenceKHR = ShaderFloatControlsIndependence;
5961
pub type DriverIdKHR = DriverId;
6062
pub type BufferUsageFlags2CreateInfoKHR<'a> = BufferUsageFlags2CreateInfo<'a>;
63+
pub type CopyMemoryIndirectCommandNV = CopyMemoryIndirectCommandKHR;
64+
pub type CopyMemoryToImageIndirectCommandNV = CopyMemoryToImageIndirectCommandKHR;
6165
pub type PipelineCreateFlags2CreateInfoKHR<'a> = PipelineCreateFlags2CreateInfo<'a>;
6266
pub type DevicePrivateDataCreateInfoEXT<'a> = DevicePrivateDataCreateInfo<'a>;
6367
pub type PrivateDataSlotCreateInfoEXT<'a> = PrivateDataSlotCreateInfo<'a>;
@@ -220,6 +224,8 @@ pub type PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a> =
220224
PhysicalDeviceComputeShaderDerivativesFeaturesKHR<'a>;
221225
pub type PhysicalDeviceFragmentShaderBarycentricFeaturesNV<'a> =
222226
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>;
227+
pub type PhysicalDeviceCopyMemoryIndirectPropertiesNV<'a> =
228+
PhysicalDeviceCopyMemoryIndirectPropertiesKHR<'a>;
223229
pub type ImageStencilUsageCreateInfoEXT<'a> = ImageStencilUsageCreateInfo<'a>;
224230
pub type PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM<'a> =
225231
PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT<'a>;
@@ -353,6 +359,16 @@ pub type PhysicalDevicePipelineRobustnessPropertiesEXT<'a> =
353359
PhysicalDevicePipelineRobustnessProperties<'a>;
354360
pub type PhysicalDeviceDepthClampZeroOneFeaturesEXT<'a> =
355361
PhysicalDeviceDepthClampZeroOneFeaturesKHR<'a>;
362+
pub type SurfacePresentModeEXT<'a> = SurfacePresentModeKHR<'a>;
363+
pub type SurfacePresentScalingCapabilitiesEXT<'a> = SurfacePresentScalingCapabilitiesKHR<'a>;
364+
pub type SurfacePresentModeCompatibilityEXT<'a> = SurfacePresentModeCompatibilityKHR<'a>;
365+
pub type PhysicalDeviceSwapchainMaintenance1FeaturesEXT<'a> =
366+
PhysicalDeviceSwapchainMaintenance1FeaturesKHR<'a>;
367+
pub type SwapchainPresentFenceInfoEXT<'a> = SwapchainPresentFenceInfoKHR<'a>;
368+
pub type SwapchainPresentModesCreateInfoEXT<'a> = SwapchainPresentModesCreateInfoKHR<'a>;
369+
pub type SwapchainPresentModeInfoEXT<'a> = SwapchainPresentModeInfoKHR<'a>;
370+
pub type SwapchainPresentScalingCreateInfoEXT<'a> = SwapchainPresentScalingCreateInfoKHR<'a>;
371+
pub type ReleaseSwapchainImagesInfoEXT<'a> = ReleaseSwapchainImagesInfoKHR<'a>;
356372
pub type DeviceImageSubresourceInfoKHR<'a> = DeviceImageSubresourceInfo<'a>;
357373
pub type MemoryMapInfoKHR<'a> = MemoryMapInfo<'a>;
358374
pub type MemoryUnmapInfoKHR<'a> = MemoryUnmapInfo<'a>;
@@ -371,4 +387,5 @@ pub type PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR<'a> =
371387
PhysicalDeviceDynamicRenderingLocalReadFeatures<'a>;
372388
pub type RenderingAttachmentLocationInfoKHR<'a> = RenderingAttachmentLocationInfo<'a>;
373389
pub type RenderingInputAttachmentIndexInfoKHR<'a> = RenderingInputAttachmentIndexInfo<'a>;
374-
pub type SurfaceCreateInfoOHOS<'a> = OHSurfaceCreateInfoOHOS<'a>;
390+
pub type PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'a> =
391+
PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR<'a>;

ash/src/vk/bitflags.rs

Lines changed: 81 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ impl ClusterAccelerationStructureGeometryFlagsNV {
676676
pub struct ClusterAccelerationStructureAddressResolutionFlagsNV(pub(crate) Flags);
677677
vk_bitflags_wrapped!(ClusterAccelerationStructureAddressResolutionFlagsNV, Flags);
678678
impl ClusterAccelerationStructureAddressResolutionFlagsNV {
679+
pub const NONE: Self = Self(0);
679680
pub const INDIRECTED_DST_IMPLICIT_DATA: Self = Self(0b1);
680681
pub const INDIRECTED_SCRATCH_DATA: Self = Self(0b10);
681682
pub const INDIRECTED_DST_ADDRESS_ARRAY: Self = Self(0b100);
@@ -1180,23 +1181,29 @@ impl FrameBoundaryFlagsEXT {
11801181
}
11811182
#[repr(transparent)]
11821183
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1183-
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPresentScalingFlagBitsEXT.html>"]
1184-
pub struct PresentScalingFlagsEXT(pub(crate) Flags);
1185-
vk_bitflags_wrapped!(PresentScalingFlagsEXT, Flags);
1186-
impl PresentScalingFlagsEXT {
1184+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPresentScalingFlagBitsKHR.html>"]
1185+
pub struct PresentScalingFlagsKHR(pub(crate) Flags);
1186+
vk_bitflags_wrapped!(PresentScalingFlagsKHR, Flags);
1187+
impl PresentScalingFlagsKHR {
11871188
pub const ONE_TO_ONE: Self = Self(0b1);
1189+
pub const ONE_TO_ONE_EXT: Self = Self::ONE_TO_ONE;
11881190
pub const ASPECT_RATIO_STRETCH: Self = Self(0b10);
1191+
pub const ASPECT_RATIO_STRETCH_EXT: Self = Self::ASPECT_RATIO_STRETCH;
11891192
pub const STRETCH: Self = Self(0b100);
1193+
pub const STRETCH_EXT: Self = Self::STRETCH;
11901194
}
11911195
#[repr(transparent)]
11921196
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1193-
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPresentGravityFlagBitsEXT.html>"]
1194-
pub struct PresentGravityFlagsEXT(pub(crate) Flags);
1195-
vk_bitflags_wrapped!(PresentGravityFlagsEXT, Flags);
1196-
impl PresentGravityFlagsEXT {
1197+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPresentGravityFlagBitsKHR.html>"]
1198+
pub struct PresentGravityFlagsKHR(pub(crate) Flags);
1199+
vk_bitflags_wrapped!(PresentGravityFlagsKHR, Flags);
1200+
impl PresentGravityFlagsKHR {
11971201
pub const MIN: Self = Self(0b1);
1202+
pub const MIN_EXT: Self = Self::MIN;
11981203
pub const MAX: Self = Self(0b10);
1204+
pub const MAX_EXT: Self = Self::MAX;
11991205
pub const CENTERED: Self = Self(0b100);
1206+
pub const CENTERED_EXT: Self = Self::CENTERED;
12001207
}
12011208
#[repr(transparent)]
12021209
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@@ -1359,6 +1366,18 @@ impl VideoEncodeRateControlModeFlagsKHR {
13591366
}
13601367
#[repr(transparent)]
13611368
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1369+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeIntraRefreshModeFlagBitsKHR.html>"]
1370+
pub struct VideoEncodeIntraRefreshModeFlagsKHR(pub(crate) Flags);
1371+
vk_bitflags_wrapped!(VideoEncodeIntraRefreshModeFlagsKHR, Flags);
1372+
impl VideoEncodeIntraRefreshModeFlagsKHR {
1373+
pub const NONE: Self = Self(0);
1374+
pub const PER_PICTURE_PARTITION: Self = Self(0b1);
1375+
pub const BLOCK_BASED: Self = Self(0b10);
1376+
pub const BLOCK_ROW_BASED: Self = Self(0b100);
1377+
pub const BLOCK_COLUMN_BASED: Self = Self(0b1000);
1378+
}
1379+
#[repr(transparent)]
1380+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
13621381
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264CapabilityFlagBitsKHR.html>"]
13631382
pub struct VideoEncodeH264CapabilityFlagsKHR(pub(crate) Flags);
13641383
vk_bitflags_wrapped!(VideoEncodeH264CapabilityFlagsKHR, Flags);
@@ -1801,6 +1820,16 @@ impl TileShadingRenderPassFlagsQCOM {
18011820
}
18021821
#[repr(transparent)]
18031822
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1823+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAddressCopyFlagBitsKHR.html>"]
1824+
pub struct AddressCopyFlagsKHR(pub(crate) Flags);
1825+
vk_bitflags_wrapped!(AddressCopyFlagsKHR, Flags);
1826+
impl AddressCopyFlagsKHR {
1827+
pub const DEVICE_LOCAL: Self = Self(0b1);
1828+
pub const SPARSE: Self = Self(0b10);
1829+
pub const PROTECTED: Self = Self(0b100);
1830+
}
1831+
#[repr(transparent)]
1832+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
18041833
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTensorCreateFlagBitsARM.html>"]
18051834
pub struct TensorCreateFlagsARM(pub(crate) Flags64);
18061835
vk_bitflags_wrapped!(TensorCreateFlagsARM, Flags64);
@@ -1829,3 +1858,47 @@ impl TensorUsageFlagsARM {
18291858
pub struct TensorViewCreateFlagsARM(pub(crate) Flags64);
18301859
vk_bitflags_wrapped!(TensorViewCreateFlagsARM, Flags64);
18311860
impl TensorViewCreateFlagsARM {}
1861+
#[repr(transparent)]
1862+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1863+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDataGraphPipelineSessionCreateFlagBitsARM.html>"]
1864+
pub struct DataGraphPipelineSessionCreateFlagsARM(pub(crate) Flags64);
1865+
vk_bitflags_wrapped!(DataGraphPipelineSessionCreateFlagsARM, Flags64);
1866+
impl DataGraphPipelineSessionCreateFlagsARM {
1867+
pub const PROTECTED: Self = Self(0b1);
1868+
}
1869+
#[repr(transparent)]
1870+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1871+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDataGraphPipelineDispatchFlagBitsARM.html>"]
1872+
pub struct DataGraphPipelineDispatchFlagsARM(pub(crate) Flags64);
1873+
vk_bitflags_wrapped!(DataGraphPipelineDispatchFlagsARM, Flags64);
1874+
impl DataGraphPipelineDispatchFlagsARM {}
1875+
#[repr(transparent)]
1876+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1877+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRgbModelConversionFlagBitsVALVE.html>"]
1878+
pub struct VideoEncodeRgbModelConversionFlagsVALVE(pub(crate) Flags);
1879+
vk_bitflags_wrapped!(VideoEncodeRgbModelConversionFlagsVALVE, Flags);
1880+
impl VideoEncodeRgbModelConversionFlagsVALVE {
1881+
pub const RGB_IDENTITY: Self = Self(0b1);
1882+
pub const YCBCR_IDENTITY: Self = Self(0b10);
1883+
pub const YCBCR_709: Self = Self(0b100);
1884+
pub const YCBCR_601: Self = Self(0b1000);
1885+
pub const YCBCR_2020: Self = Self(0b1_0000);
1886+
}
1887+
#[repr(transparent)]
1888+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1889+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRgbRangeCompressionFlagBitsVALVE.html>"]
1890+
pub struct VideoEncodeRgbRangeCompressionFlagsVALVE(pub(crate) Flags);
1891+
vk_bitflags_wrapped!(VideoEncodeRgbRangeCompressionFlagsVALVE, Flags);
1892+
impl VideoEncodeRgbRangeCompressionFlagsVALVE {
1893+
pub const FULL_RANGE: Self = Self(0b1);
1894+
pub const NARROW_RANGE: Self = Self(0b10);
1895+
}
1896+
#[repr(transparent)]
1897+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1898+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRgbChromaOffsetFlagBitsVALVE.html>"]
1899+
pub struct VideoEncodeRgbChromaOffsetFlagsVALVE(pub(crate) Flags);
1900+
vk_bitflags_wrapped!(VideoEncodeRgbChromaOffsetFlagsVALVE, Flags);
1901+
impl VideoEncodeRgbChromaOffsetFlagsVALVE {
1902+
pub const COSITED_EVEN: Self = Self(0b1);
1903+
pub const MIDPOINT: Self = Self(0b10);
1904+
}

0 commit comments

Comments
 (0)