Skip to content

Commit 6a73032

Browse files
committed
Update Vulkan-Headers to 1.3.228 (#655)
* Update Vulkan-Headers to 1.3.220 * Update Vulkan-Headers to 1.3.221 * Update Vulkan-Headers to 1.3.222 * Update Vulkan-Headers to 1.3.223 * Update Vulkan-Headers to 1.3.224 * Update Vulkan-Headers to 1.3.225 * Update Vulkan-Headers to 1.3.226 * Update Vulkan-Headers to 1.3.227 * Update Vulkan-Headers to 1.3.228
1 parent 21bbc79 commit 6a73032

9 files changed

+3172
-860
lines changed

Changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Added
1515

1616
- Added `VK_EXT_image_drm_format_modifier` device extension (#603)
17-
- Update Vulkan-Headers to 1.3.219 (#605, #608, #619)
17+
- Update Vulkan-Headers to 1.3.228 (#605, #608, #619, #655)
1818
- Added `const STRUCTURE_TYPE` to all Vulkan structures for matching with `match_struct!` macro (#614)
1919
- Added `VK_EXT_sample_locations` device extension (#616)
2020
- Added `VK_NV_coverage_reduction_mode` device extension (#617)

ash/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ash"
3-
version = "0.37.0+1.3.219"
3+
version = "0.37.0+1.3.228"
44
authors = ["maik klein <maikklein@googlemail.com>"]
55
description = "Vulkan bindings for Rust"
66
license = "MIT OR Apache-2.0"

ash/src/vk/aliases.rs

+6
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ pub type CopyImageToBufferInfo2KHR = CopyImageToBufferInfo2;
224224
pub type ResolveImageInfo2KHR = ResolveImageInfo2;
225225
pub type PhysicalDeviceShaderTerminateInvocationFeaturesKHR =
226226
PhysicalDeviceShaderTerminateInvocationFeatures;
227+
pub type PhysicalDeviceMutableDescriptorTypeFeaturesVALVE =
228+
PhysicalDeviceMutableDescriptorTypeFeaturesEXT;
229+
pub type MutableDescriptorTypeListVALVE = MutableDescriptorTypeListEXT;
230+
pub type MutableDescriptorTypeCreateInfoVALVE = MutableDescriptorTypeCreateInfoEXT;
227231
pub type MemoryBarrier2KHR = MemoryBarrier2;
228232
pub type ImageMemoryBarrier2KHR = ImageMemoryBarrier2;
229233
pub type BufferMemoryBarrier2KHR = BufferMemoryBarrier2;
@@ -243,3 +247,5 @@ pub type RenderingAttachmentInfoKHR = RenderingAttachmentInfo;
243247
pub type PhysicalDeviceDynamicRenderingFeaturesKHR = PhysicalDeviceDynamicRenderingFeatures;
244248
pub type CommandBufferInheritanceRenderingInfoKHR = CommandBufferInheritanceRenderingInfo;
245249
pub type AttachmentSampleCountInfoNV = AttachmentSampleCountInfoAMD;
250+
pub type PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesARM =
251+
PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT;

ash/src/vk/bitflags.rs

+27-54
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ impl GraphicsPipelineLibraryFlagsEXT {
11311131
pub struct VideoCodecOperationFlagsKHR(pub(crate) Flags);
11321132
vk_bitflags_wrapped!(VideoCodecOperationFlagsKHR, Flags);
11331133
impl VideoCodecOperationFlagsKHR {
1134-
pub const INVALID: Self = Self(0);
1134+
pub const NONE: Self = Self(0);
11351135
}
11361136
#[repr(transparent)]
11371137
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@@ -1171,21 +1171,10 @@ impl VideoCapabilityFlagsKHR {
11711171
pub struct VideoSessionCreateFlagsKHR(pub(crate) Flags);
11721172
vk_bitflags_wrapped!(VideoSessionCreateFlagsKHR, Flags);
11731173
impl VideoSessionCreateFlagsKHR {
1174-
pub const DEFAULT: Self = Self(0);
11751174
pub const PROTECTED_CONTENT: Self = Self(0b1);
11761175
}
11771176
#[repr(transparent)]
11781177
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1179-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoCodingQualityPresetFlagBitsKHR.html>"]
1180-
pub struct VideoCodingQualityPresetFlagsKHR(pub(crate) Flags);
1181-
vk_bitflags_wrapped!(VideoCodingQualityPresetFlagsKHR, Flags);
1182-
impl VideoCodingQualityPresetFlagsKHR {
1183-
pub const NORMAL: Self = Self(0b1);
1184-
pub const POWER: Self = Self(0b10);
1185-
pub const QUALITY: Self = Self(0b100);
1186-
}
1187-
#[repr(transparent)]
1188-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
11891178
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264PictureLayoutFlagBitsEXT.html>"]
11901179
pub struct VideoDecodeH264PictureLayoutFlagsEXT(pub(crate) Flags);
11911180
vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsEXT, Flags);
@@ -1200,57 +1189,61 @@ impl VideoDecodeH264PictureLayoutFlagsEXT {
12001189
pub struct VideoCodingControlFlagsKHR(pub(crate) Flags);
12011190
vk_bitflags_wrapped!(VideoCodingControlFlagsKHR, Flags);
12021191
impl VideoCodingControlFlagsKHR {
1203-
pub const DEFAULT: Self = Self(0);
12041192
pub const RESET: Self = Self(0b1);
12051193
}
12061194
#[repr(transparent)]
12071195
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1196+
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeUsageFlagBitsKHR.html>"]
1197+
pub struct VideoDecodeUsageFlagsKHR(pub(crate) Flags);
1198+
vk_bitflags_wrapped!(VideoDecodeUsageFlagsKHR, Flags);
1199+
impl VideoDecodeUsageFlagsKHR {
1200+
pub const DEFAULT: Self = Self(0);
1201+
pub const TRANSCODING: Self = Self(0b1);
1202+
pub const OFFLINE: Self = Self(0b10);
1203+
pub const STREAMING: Self = Self(0b100);
1204+
}
1205+
#[repr(transparent)]
1206+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
12081207
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeCapabilityFlagBitsKHR.html>"]
12091208
pub struct VideoDecodeCapabilityFlagsKHR(pub(crate) Flags);
12101209
vk_bitflags_wrapped!(VideoDecodeCapabilityFlagsKHR, Flags);
12111210
impl VideoDecodeCapabilityFlagsKHR {
1212-
pub const DEFAULT: Self = Self(0);
12131211
pub const DPB_AND_OUTPUT_COINCIDE: Self = Self(0b1);
12141212
pub const DPB_AND_OUTPUT_DISTINCT: Self = Self(0b10);
12151213
}
12161214
#[repr(transparent)]
12171215
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1218-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeFlagBitsKHR.html>"]
1219-
pub struct VideoDecodeFlagsKHR(pub(crate) Flags);
1220-
vk_bitflags_wrapped!(VideoDecodeFlagsKHR, Flags);
1221-
impl VideoDecodeFlagsKHR {
1216+
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeUsageFlagBitsKHR.html>"]
1217+
pub struct VideoEncodeUsageFlagsKHR(pub(crate) Flags);
1218+
vk_bitflags_wrapped!(VideoEncodeUsageFlagsKHR, Flags);
1219+
impl VideoEncodeUsageFlagsKHR {
12221220
pub const DEFAULT: Self = Self(0);
1223-
pub const RESERVED_0: Self = Self(0b1);
1221+
pub const TRANSCODING: Self = Self(0b1);
1222+
pub const STREAMING: Self = Self(0b10);
1223+
pub const RECORDING: Self = Self(0b100);
1224+
pub const CONFERENCING: Self = Self(0b1000);
12241225
}
12251226
#[repr(transparent)]
12261227
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1227-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeFlagBitsKHR.html>"]
1228-
pub struct VideoEncodeFlagsKHR(pub(crate) Flags);
1229-
vk_bitflags_wrapped!(VideoEncodeFlagsKHR, Flags);
1230-
impl VideoEncodeFlagsKHR {
1228+
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeContentFlagBitsKHR.html>"]
1229+
pub struct VideoEncodeContentFlagsKHR(pub(crate) Flags);
1230+
vk_bitflags_wrapped!(VideoEncodeContentFlagsKHR, Flags);
1231+
impl VideoEncodeContentFlagsKHR {
12311232
pub const DEFAULT: Self = Self(0);
1232-
pub const RESERVED_0: Self = Self(0b1);
1233+
pub const CAMERA: Self = Self(0b1);
1234+
pub const DESKTOP: Self = Self(0b10);
1235+
pub const RENDERED: Self = Self(0b100);
12331236
}
12341237
#[repr(transparent)]
12351238
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
12361239
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeCapabilityFlagBitsKHR.html>"]
12371240
pub struct VideoEncodeCapabilityFlagsKHR(pub(crate) Flags);
12381241
vk_bitflags_wrapped!(VideoEncodeCapabilityFlagsKHR, Flags);
12391242
impl VideoEncodeCapabilityFlagsKHR {
1240-
pub const DEFAULT: Self = Self(0);
12411243
pub const PRECEDING_EXTERNALLY_ENCODED_BYTES: Self = Self(0b1);
12421244
}
12431245
#[repr(transparent)]
12441246
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1245-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlFlagBitsKHR.html>"]
1246-
pub struct VideoEncodeRateControlFlagsKHR(pub(crate) Flags);
1247-
vk_bitflags_wrapped!(VideoEncodeRateControlFlagsKHR, Flags);
1248-
impl VideoEncodeRateControlFlagsKHR {
1249-
pub const DEFAULT: Self = Self(0);
1250-
pub const RESERVED_0: Self = Self(0b1);
1251-
}
1252-
#[repr(transparent)]
1253-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
12541247
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlModeFlagBitsKHR.html>"]
12551248
pub struct VideoEncodeRateControlModeFlagsKHR(pub(crate) Flags);
12561249
vk_bitflags_wrapped!(VideoEncodeRateControlModeFlagsKHR, Flags);
@@ -1313,16 +1306,6 @@ impl VideoEncodeH264OutputModeFlagsEXT {
13131306
}
13141307
#[repr(transparent)]
13151308
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1316-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264RateControlStructureFlagBitsEXT.html>"]
1317-
pub struct VideoEncodeH264RateControlStructureFlagsEXT(pub(crate) Flags);
1318-
vk_bitflags_wrapped!(VideoEncodeH264RateControlStructureFlagsEXT, Flags);
1319-
impl VideoEncodeH264RateControlStructureFlagsEXT {
1320-
pub const UNKNOWN: Self = Self(0);
1321-
pub const FLAT: Self = Self(0b1);
1322-
pub const DYADIC: Self = Self(0b10);
1323-
}
1324-
#[repr(transparent)]
1325-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
13261309
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageFormatConstraintsFlagBitsFUCHSIA.html>"]
13271310
pub struct ImageFormatConstraintsFlagsFUCHSIA(pub(crate) Flags);
13281311
vk_bitflags_wrapped!(ImageFormatConstraintsFlagsFUCHSIA, Flags);
@@ -1478,16 +1461,6 @@ impl VideoEncodeH265OutputModeFlagsEXT {
14781461
}
14791462
#[repr(transparent)]
14801463
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1481-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlStructureFlagBitsEXT.html>"]
1482-
pub struct VideoEncodeH265RateControlStructureFlagsEXT(pub(crate) Flags);
1483-
vk_bitflags_wrapped!(VideoEncodeH265RateControlStructureFlagsEXT, Flags);
1484-
impl VideoEncodeH265RateControlStructureFlagsEXT {
1485-
pub const UNKNOWN: Self = Self(0);
1486-
pub const FLAT: Self = Self(0b1);
1487-
pub const DYADIC: Self = Self(0b10);
1488-
}
1489-
#[repr(transparent)]
1490-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
14911464
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CtbSizeFlagBitsEXT.html>"]
14921465
pub struct VideoEncodeH265CtbSizeFlagsEXT(pub(crate) Flags);
14931466
vk_bitflags_wrapped!(VideoEncodeH265CtbSizeFlagsEXT, Flags);

0 commit comments

Comments
 (0)