Skip to content

Commit d8ce3bb

Browse files
committed
Update Vulkan-Headers to 1.4.331 (TODO: Vulkan versions are split)
1 parent 739a71a commit d8ce3bb

File tree

14 files changed

+4325
-2256
lines changed

14 files changed

+4325
-2256
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.329 (#910, #951)
13+
- Update Vulkan-Headers to 1.4.331 (#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.329"
3+
version = "0.38.0+1.4.331"
44
authors = [
55
"Maik Klein <[email protected]>",
66
"Benjamin Saunders <[email protected]>",

ash/src/extensions_generated.rs

Lines changed: 445 additions & 4 deletions
Large diffs are not rendered by default.

ash/src/tables.rs

Lines changed: 1718 additions & 1478 deletions
Large diffs are not rendered by default.

ash/src/vk/aliases.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pub type SemaphoreWaitFlagsKHR = SemaphoreWaitFlags;
1212
pub type AccessFlags2KHR = AccessFlags2;
1313
pub type PipelineStageFlags2KHR = PipelineStageFlags2;
1414
pub type FormatFeatureFlags2KHR = FormatFeatureFlags2;
15+
pub type MemoryDecompressionMethodFlagsNV = MemoryDecompressionMethodFlagsEXT;
1516
pub type RenderingFlagsKHR = RenderingFlags;
1617
pub type PipelineCreateFlags2KHR = PipelineCreateFlags2;
1718
pub type BufferUsageFlags2KHR = BufferUsageFlags2;
@@ -226,6 +227,10 @@ pub type PhysicalDeviceFragmentShaderBarycentricFeaturesNV<'a> =
226227
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>;
227228
pub type PhysicalDeviceCopyMemoryIndirectPropertiesNV<'a> =
228229
PhysicalDeviceCopyMemoryIndirectPropertiesKHR<'a>;
230+
pub type PhysicalDeviceMemoryDecompressionFeaturesNV<'a> =
231+
PhysicalDeviceMemoryDecompressionFeaturesEXT<'a>;
232+
pub type PhysicalDeviceMemoryDecompressionPropertiesNV<'a> =
233+
PhysicalDeviceMemoryDecompressionPropertiesEXT<'a>;
229234
pub type ImageStencilUsageCreateInfoEXT<'a> = ImageStencilUsageCreateInfo<'a>;
230235
pub type PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM<'a> =
231236
PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT<'a>;
@@ -342,6 +347,7 @@ pub type PhysicalDeviceShaderIntegerDotProductPropertiesKHR<'a> =
342347
pub type FormatProperties3KHR<'a> = FormatProperties3<'a>;
343348
pub type PipelineRenderingCreateInfoKHR<'a> = PipelineRenderingCreateInfo<'a>;
344349
pub type RenderingInfoKHR<'a> = RenderingInfo<'a>;
350+
pub type RenderingEndInfoEXT<'a> = RenderingEndInfoKHR<'a>;
345351
pub type RenderingAttachmentInfoKHR<'a> = RenderingAttachmentInfo<'a>;
346352
pub type PhysicalDeviceDynamicRenderingFeaturesKHR<'a> = PhysicalDeviceDynamicRenderingFeatures<'a>;
347353
pub type CommandBufferInheritanceRenderingInfoKHR<'a> = CommandBufferInheritanceRenderingInfo<'a>;

ash/src/vk/bitflags.rs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,11 +1006,12 @@ impl PipelineCreationFeedbackFlags {
10061006
}
10071007
#[repr(transparent)]
10081008
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1009-
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryDecompressionMethodFlagBitsNV.html>"]
1010-
pub struct MemoryDecompressionMethodFlagsNV(pub(crate) Flags64);
1011-
vk_bitflags_wrapped!(MemoryDecompressionMethodFlagsNV, Flags64);
1012-
impl MemoryDecompressionMethodFlagsNV {
1009+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryDecompressionMethodFlagBitsEXT.html>"]
1010+
pub struct MemoryDecompressionMethodFlagsEXT(pub(crate) Flags64);
1011+
vk_bitflags_wrapped!(MemoryDecompressionMethodFlagsEXT, Flags64);
1012+
impl MemoryDecompressionMethodFlagsEXT {
10131013
pub const GDEFLATE_1_0: Self = Self(0b1);
1014+
pub const GDEFLATE_1_0_NV: Self = Self::GDEFLATE_1_0;
10141015
}
10151016
#[repr(transparent)]
10161017
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@@ -1165,6 +1166,18 @@ impl GraphicsPipelineLibraryFlagsEXT {
11651166
}
11661167
#[repr(transparent)]
11671168
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1169+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkRenderingAttachmentFlagBitsKHR.html>"]
1170+
pub struct RenderingAttachmentFlagsKHR(pub(crate) Flags);
1171+
vk_bitflags_wrapped!(RenderingAttachmentFlagsKHR, Flags);
1172+
impl RenderingAttachmentFlagsKHR {}
1173+
#[repr(transparent)]
1174+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1175+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveImageFlagBitsKHR.html>"]
1176+
pub struct ResolveImageFlagsKHR(pub(crate) Flags);
1177+
vk_bitflags_wrapped!(ResolveImageFlagsKHR, Flags);
1178+
impl ResolveImageFlagsKHR {}
1179+
#[repr(transparent)]
1180+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
11681181
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceAddressBindingFlagBitsEXT.html>"]
11691182
pub struct DeviceAddressBindingFlagsEXT(pub(crate) Flags);
11701183
vk_bitflags_wrapped!(DeviceAddressBindingFlagsEXT, Flags);
@@ -1902,3 +1915,11 @@ impl VideoEncodeRgbChromaOffsetFlagsVALVE {
19021915
pub const COSITED_EVEN: Self = Self(0b1);
19031916
pub const MIDPOINT: Self = Self(0b10);
19041917
}
1918+
#[repr(transparent)]
1919+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1920+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSwapchainImageUsageFlagBitsOHOS.html>"]
1921+
pub struct SwapchainImageUsageFlagsOHOS(pub(crate) Flags);
1922+
vk_bitflags_wrapped!(SwapchainImageUsageFlagsOHOS, Flags);
1923+
impl SwapchainImageUsageFlagsOHOS {
1924+
pub const SHARED: Self = Self(0b1);
1925+
}

0 commit comments

Comments
 (0)