Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.207 (#597)
Browse files Browse the repository at this point in the history
* Update Vulkan-Headers to 1.3.207

* Update Vulkan-Headers to 1.3.208
  • Loading branch information
MarijnS95 authored Mar 22, 2022
1 parent 79a2ef0 commit fde6f92
Show file tree
Hide file tree
Showing 7 changed files with 528 additions and 36 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Update Vulkan-Headers to 1.3.208 (#597)
- Added `VK_EXT_headless_surface` instance extension (#589)

## [0.36.0] - 2022-02-21
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.36.0+1.3.206"
version = "0.36.0+1.3.208"
authors = ["maik klein <maikklein@googlemail.com>"]
description = "Vulkan bindings for Rust"
license = "MIT"
Expand Down
16 changes: 16 additions & 0 deletions ash/src/vk/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,16 @@ impl VideoCodingControlFlagsKHR {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeCapabilityFlagBitsKHR.html>"]
pub struct VideoDecodeCapabilityFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeCapabilityFlagsKHR, Flags);
impl VideoDecodeCapabilityFlagsKHR {
pub const DEFAULT: Self = Self(0);
pub const DPB_AND_OUTPUT_COINCIDE: Self = Self(0b1);
pub const DPB_AND_OUTPUT_DISTINCT: Self = Self(0b10);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeFlagBitsKHR.html>"]
pub struct VideoDecodeFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeFlagsKHR, Flags);
Expand Down Expand Up @@ -1490,3 +1500,9 @@ impl VideoEncodeH265TransformBlockSizeFlagsEXT {
pub const TYPE_16: Self = Self(0b100);
pub const TYPE_32: Self = Self(0b1000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkInstanceCreateFlagBits.html>"]
pub struct InstanceCreateFlags(pub(crate) Flags);
vk_bitflags_wrapped!(InstanceCreateFlags, Flags);
impl InstanceCreateFlags {}
33 changes: 32 additions & 1 deletion ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2141,6 +2141,7 @@ impl fmt::Debug for ImageCreateFlags {
),
(ImageCreateFlags::SUBSAMPLED_EXT.0, "SUBSAMPLED_EXT"),
(ImageCreateFlags::RESERVED_16_AMD.0, "RESERVED_16_AMD"),
(ImageCreateFlags::RESERVED_18_EXT.0, "RESERVED_18_EXT"),
(ImageCreateFlags::RESERVED_394_EXT.0, "RESERVED_394_EXT"),
(
ImageCreateFlags::FRAGMENT_DENSITY_MAP_OFFSET_QCOM.0,
Expand Down Expand Up @@ -2292,6 +2293,7 @@ impl fmt::Debug for ImageUsageFlags {
ImageUsageFlags::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(ImageUsageFlags::RESERVED_22_EXT.0, "RESERVED_22_EXT"),
(
ImageUsageFlags::VIDEO_ENCODE_DST_KHR.0,
"VIDEO_ENCODE_DST_KHR",
Expand Down Expand Up @@ -2414,7 +2416,10 @@ impl fmt::Debug for IndirectStateFlagsNV {
}
impl fmt::Debug for InstanceCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
const KNOWN: &[(Flags, &str)] = &[(
InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR.0,
"ENUMERATE_PORTABILITY_KHR",
)];
debug_flags(f, KNOWN, self.0)
}
}
Expand Down Expand Up @@ -3988,6 +3993,7 @@ impl fmt::Debug for StructureType {
Some("QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_2_KHR")
}
Self::VIDEO_DECODE_INFO_KHR => Some("VIDEO_DECODE_INFO_KHR"),
Self::VIDEO_DECODE_CAPABILITIES_KHR => Some("VIDEO_DECODE_CAPABILITIES_KHR"),
Self::DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV => {
Some("DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV")
}
Expand Down Expand Up @@ -4898,6 +4904,15 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE")
}
Self::DESCRIPTOR_SET_BINDING_REFERENCE_VALVE => {
Some("DESCRIPTOR_SET_BINDING_REFERENCE_VALVE")
}
Self::DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE => {
Some("DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE")
}
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM")
}
Expand Down Expand Up @@ -5642,6 +5657,22 @@ impl fmt::Debug for VideoComponentBitDepthFlagsKHR {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeCapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoDecodeCapabilityFlagsKHR::DEFAULT.0, "DEFAULT"),
(
VideoDecodeCapabilityFlagsKHR::DPB_AND_OUTPUT_COINCIDE.0,
"DPB_AND_OUTPUT_COINCIDE",
),
(
VideoDecodeCapabilityFlagsKHR::DPB_AND_OUTPUT_DISTINCT.0,
"DPB_AND_OUTPUT_DISTINCT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
Expand Down
Loading

0 comments on commit fde6f92

Please sign in to comment.