Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.238
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Dec 19, 2022
1 parent 75b19ca commit c0a395e
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 165 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Update Vulkan-Headers to 1.3.237 (#688)
- Update Vulkan-Headers to 1.3.238 (#688)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion ash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ash"
version = "0.37.0+1.3.237"
version = "0.37.0+1.3.238"
authors = ["maik klein <maikklein@googlemail.com>"]
description = "Vulkan bindings for Rust"
license = "MIT OR Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions ash/src/vk/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,10 +1211,10 @@ impl VideoSessionCreateFlagsKHR {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264PictureLayoutFlagBitsEXT.html>"]
pub struct VideoDecodeH264PictureLayoutFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsEXT, Flags);
impl VideoDecodeH264PictureLayoutFlagsEXT {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264PictureLayoutFlagBitsKHR.html>"]
pub struct VideoDecodeH264PictureLayoutFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsKHR, Flags);
impl VideoDecodeH264PictureLayoutFlagsKHR {
pub const PROGRESSIVE: Self = Self(0);
pub const INTERLACED_INTERLEAVED_LINES: Self = Self(0b1);
pub const INTERLACED_SEPARATE_PLANES: Self = Self(0b10);
Expand Down
54 changes: 24 additions & 30 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4683,17 +4683,17 @@ impl fmt::Debug for StructureType {
Self::VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT => {
Some("VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT")
}
Self::VIDEO_DECODE_H264_CAPABILITIES_EXT => Some("VIDEO_DECODE_H264_CAPABILITIES_EXT"),
Self::VIDEO_DECODE_H264_PICTURE_INFO_EXT => Some("VIDEO_DECODE_H264_PICTURE_INFO_EXT"),
Self::VIDEO_DECODE_H264_PROFILE_INFO_EXT => Some("VIDEO_DECODE_H264_PROFILE_INFO_EXT"),
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT")
Self::VIDEO_DECODE_H264_CAPABILITIES_KHR => Some("VIDEO_DECODE_H264_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_H264_PICTURE_INFO_KHR => Some("VIDEO_DECODE_H264_PICTURE_INFO_KHR"),
Self::VIDEO_DECODE_H264_PROFILE_INFO_KHR => Some("VIDEO_DECODE_H264_PROFILE_INFO_KHR"),
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT")
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT => {
Some("VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT")
Self::VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR => {
Some("VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR")
}
Self::TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD => {
Some("TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD")
Expand Down Expand Up @@ -5061,17 +5061,17 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD => {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD")
}
Self::VIDEO_DECODE_H265_CAPABILITIES_EXT => Some("VIDEO_DECODE_H265_CAPABILITIES_EXT"),
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT")
Self::VIDEO_DECODE_H265_CAPABILITIES_KHR => Some("VIDEO_DECODE_H265_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT")
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_DECODE_H265_PROFILE_INFO_EXT => Some("VIDEO_DECODE_H265_PROFILE_INFO_EXT"),
Self::VIDEO_DECODE_H265_PICTURE_INFO_EXT => Some("VIDEO_DECODE_H265_PICTURE_INFO_EXT"),
Self::VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT => {
Some("VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT")
Self::VIDEO_DECODE_H265_PROFILE_INFO_KHR => Some("VIDEO_DECODE_H265_PROFILE_INFO_KHR"),
Self::VIDEO_DECODE_H265_PICTURE_INFO_KHR => Some("VIDEO_DECODE_H265_PICTURE_INFO_KHR"),
Self::VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR => {
Some("VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR")
}
Self::DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR => {
Some("DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR")
Expand Down Expand Up @@ -6518,14 +6518,8 @@ impl fmt::Debug for VideoCodecOperationFlagsKHR {
VideoCodecOperationFlagsKHR::ENCODE_H265_EXT.0,
"ENCODE_H265_EXT",
),
(
VideoCodecOperationFlagsKHR::DECODE_H264_EXT.0,
"DECODE_H264_EXT",
),
(
VideoCodecOperationFlagsKHR::DECODE_H265_EXT.0,
"DECODE_H265_EXT",
),
(VideoCodecOperationFlagsKHR::DECODE_H264.0, "DECODE_H264"),
(VideoCodecOperationFlagsKHR::DECODE_H265.0, "DECODE_H265"),
];
debug_flags(f, KNOWN, self.0)
}
Expand Down Expand Up @@ -6578,19 +6572,19 @@ impl fmt::Debug for VideoDecodeFlagsKHR {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeH264PictureLayoutFlagsEXT {
impl fmt::Debug for VideoDecodeH264PictureLayoutFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoDecodeH264PictureLayoutFlagsEXT::PROGRESSIVE.0,
VideoDecodeH264PictureLayoutFlagsKHR::PROGRESSIVE.0,
"PROGRESSIVE",
),
(
VideoDecodeH264PictureLayoutFlagsEXT::INTERLACED_INTERLEAVED_LINES.0,
VideoDecodeH264PictureLayoutFlagsKHR::INTERLACED_INTERLEAVED_LINES.0,
"INTERLACED_INTERLEAVED_LINES",
),
(
VideoDecodeH264PictureLayoutFlagsEXT::INTERLACED_SEPARATE_PLANES.0,
VideoDecodeH264PictureLayoutFlagsKHR::INTERLACED_SEPARATE_PLANES.0,
"INTERLACED_SEPARATE_PLANES",
),
];
Expand Down
Loading

0 comments on commit c0a395e

Please sign in to comment.