Update Vulkan-Headers to 1.3.209 (#601)

This commit is contained in:
Marijn Suijten 2022-03-23 21:52:28 +01:00 committed by GitHub
parent 777977174a
commit 8ae0312f03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1230 additions and 1125 deletions

View file

@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Update Vulkan-Headers to 1.3.208 (#597)
- Update Vulkan-Headers to 1.3.209 (#597, #601)
- Added `VK_EXT_headless_surface` instance extension (#589)
### Changed

View file

@ -1,6 +1,6 @@
[package]
name = "ash"
version = "0.36.0+1.3.208"
version = "0.36.0+1.3.209"
authors = ["maik klein <maikklein@googlemail.com>"]
description = "Vulkan bindings for Rust"
license = "MIT"

View file

@ -1299,15 +1299,6 @@ impl VideoEncodeH264OutputModeFlagsEXT {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264CreateFlagBitsEXT.html>"]
pub struct VideoEncodeH264CreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH264CreateFlagsEXT, Flags);
impl VideoEncodeH264CreateFlagsEXT {
pub const DEFAULT: Self = Self(0);
pub const RESERVED_0: Self = Self(0b1);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264RateControlStructureFlagBitsEXT.html>"]
pub struct VideoEncodeH264RateControlStructureFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH264RateControlStructureFlagsEXT, Flags);

View file

@ -1926,7 +1926,7 @@ impl fmt::Debug for FormatFeatureFlags {
}
impl fmt::Debug for FormatFeatureFlags2 {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN : & [(Flags64 , & str)] = & [(FormatFeatureFlags2 :: SAMPLED_IMAGE . 0 , "SAMPLED_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE . 0 , "STORAGE_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE_ATOMIC . 0 , "STORAGE_IMAGE_ATOMIC") , (FormatFeatureFlags2 :: UNIFORM_TEXEL_BUFFER . 0 , "UNIFORM_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER . 0 , "STORAGE_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER_ATOMIC . 0 , "STORAGE_TEXEL_BUFFER_ATOMIC") , (FormatFeatureFlags2 :: VERTEX_BUFFER . 0 , "VERTEX_BUFFER") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT . 0 , "COLOR_ATTACHMENT") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT_BLEND . 0 , "COLOR_ATTACHMENT_BLEND") , (FormatFeatureFlags2 :: DEPTH_STENCIL_ATTACHMENT . 0 , "DEPTH_STENCIL_ATTACHMENT") , (FormatFeatureFlags2 :: BLIT_SRC . 0 , "BLIT_SRC") , (FormatFeatureFlags2 :: BLIT_DST . 0 , "BLIT_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_LINEAR . 0 , "SAMPLED_IMAGE_FILTER_LINEAR") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_CUBIC . 0 , "SAMPLED_IMAGE_FILTER_CUBIC") , (FormatFeatureFlags2 :: TRANSFER_SRC . 0 , "TRANSFER_SRC") , (FormatFeatureFlags2 :: TRANSFER_DST . 0 , "TRANSFER_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_MINMAX . 0 , "SAMPLED_IMAGE_FILTER_MINMAX") , (FormatFeatureFlags2 :: MIDPOINT_CHROMA_SAMPLES . 0 , "MIDPOINT_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE") , (FormatFeatureFlags2 :: DISJOINT . 0 , "DISJOINT") , (FormatFeatureFlags2 :: COSITED_CHROMA_SAMPLES . 0 , "COSITED_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: STORAGE_READ_WITHOUT_FORMAT . 0 , "STORAGE_READ_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: STORAGE_WRITE_WITHOUT_FORMAT . 0 , "STORAGE_WRITE_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_DEPTH_COMPARISON . 0 , "SAMPLED_IMAGE_DEPTH_COMPARISON") , (FormatFeatureFlags2 :: VIDEO_DECODE_OUTPUT_KHR . 0 , "VIDEO_DECODE_OUTPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_DECODE_DPB_KHR . 0 , "VIDEO_DECODE_DPB_KHR") , (FormatFeatureFlags2 :: ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR . 0 , "ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR") , (FormatFeatureFlags2 :: FRAGMENT_DENSITY_MAP_EXT . 0 , "FRAGMENT_DENSITY_MAP_EXT") , (FormatFeatureFlags2 :: FRAGMENT_SHADING_RATE_ATTACHMENT_KHR . 0 , "FRAGMENT_SHADING_RATE_ATTACHMENT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_INPUT_KHR . 0 , "VIDEO_ENCODE_INPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_DPB_KHR . 0 , "VIDEO_ENCODE_DPB_KHR") , (FormatFeatureFlags2 :: LINEAR_COLOR_ATTACHMENT_NV . 0 , "LINEAR_COLOR_ATTACHMENT_NV") , (FormatFeatureFlags2 :: RESERVED_34_QCOM . 0 , "RESERVED_34_QCOM") , (FormatFeatureFlags2 :: RESERVED_35_QCOM . 0 , "RESERVED_35_QCOM") , (FormatFeatureFlags2 :: RESERVED_36_QCOM . 0 , "RESERVED_36_QCOM") , (FormatFeatureFlags2 :: RESERVED_37_QCOM . 0 , "RESERVED_37_QCOM")] ;
const KNOWN : & [(Flags64 , & str)] = & [(FormatFeatureFlags2 :: SAMPLED_IMAGE . 0 , "SAMPLED_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE . 0 , "STORAGE_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE_ATOMIC . 0 , "STORAGE_IMAGE_ATOMIC") , (FormatFeatureFlags2 :: UNIFORM_TEXEL_BUFFER . 0 , "UNIFORM_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER . 0 , "STORAGE_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER_ATOMIC . 0 , "STORAGE_TEXEL_BUFFER_ATOMIC") , (FormatFeatureFlags2 :: VERTEX_BUFFER . 0 , "VERTEX_BUFFER") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT . 0 , "COLOR_ATTACHMENT") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT_BLEND . 0 , "COLOR_ATTACHMENT_BLEND") , (FormatFeatureFlags2 :: DEPTH_STENCIL_ATTACHMENT . 0 , "DEPTH_STENCIL_ATTACHMENT") , (FormatFeatureFlags2 :: BLIT_SRC . 0 , "BLIT_SRC") , (FormatFeatureFlags2 :: BLIT_DST . 0 , "BLIT_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_LINEAR . 0 , "SAMPLED_IMAGE_FILTER_LINEAR") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_CUBIC . 0 , "SAMPLED_IMAGE_FILTER_CUBIC") , (FormatFeatureFlags2 :: TRANSFER_SRC . 0 , "TRANSFER_SRC") , (FormatFeatureFlags2 :: TRANSFER_DST . 0 , "TRANSFER_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_MINMAX . 0 , "SAMPLED_IMAGE_FILTER_MINMAX") , (FormatFeatureFlags2 :: MIDPOINT_CHROMA_SAMPLES . 0 , "MIDPOINT_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE") , (FormatFeatureFlags2 :: DISJOINT . 0 , "DISJOINT") , (FormatFeatureFlags2 :: COSITED_CHROMA_SAMPLES . 0 , "COSITED_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: STORAGE_READ_WITHOUT_FORMAT . 0 , "STORAGE_READ_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: STORAGE_WRITE_WITHOUT_FORMAT . 0 , "STORAGE_WRITE_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_DEPTH_COMPARISON . 0 , "SAMPLED_IMAGE_DEPTH_COMPARISON") , (FormatFeatureFlags2 :: VIDEO_DECODE_OUTPUT_KHR . 0 , "VIDEO_DECODE_OUTPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_DECODE_DPB_KHR . 0 , "VIDEO_DECODE_DPB_KHR") , (FormatFeatureFlags2 :: ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR . 0 , "ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR") , (FormatFeatureFlags2 :: FRAGMENT_DENSITY_MAP_EXT . 0 , "FRAGMENT_DENSITY_MAP_EXT") , (FormatFeatureFlags2 :: FRAGMENT_SHADING_RATE_ATTACHMENT_KHR . 0 , "FRAGMENT_SHADING_RATE_ATTACHMENT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_INPUT_KHR . 0 , "VIDEO_ENCODE_INPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_DPB_KHR . 0 , "VIDEO_ENCODE_DPB_KHR") , (FormatFeatureFlags2 :: LINEAR_COLOR_ATTACHMENT_NV . 0 , "LINEAR_COLOR_ATTACHMENT_NV") , (FormatFeatureFlags2 :: RESERVED_34_QCOM . 0 , "RESERVED_34_QCOM") , (FormatFeatureFlags2 :: RESERVED_35_QCOM . 0 , "RESERVED_35_QCOM") , (FormatFeatureFlags2 :: RESERVED_36_QCOM . 0 , "RESERVED_36_QCOM") , (FormatFeatureFlags2 :: RESERVED_37_QCOM . 0 , "RESERVED_37_QCOM") , (FormatFeatureFlags2 :: RESERVED_39_EXT . 0 , "RESERVED_39_EXT")] ;
debug_flags(f, KNOWN, self.0)
}
}
@ -4018,9 +4018,6 @@ impl fmt::Debug for StructureType {
Self::IMAGE_VIEW_HANDLE_INFO_NVX => Some("IMAGE_VIEW_HANDLE_INFO_NVX"),
Self::IMAGE_VIEW_ADDRESS_PROPERTIES_NVX => Some("IMAGE_VIEW_ADDRESS_PROPERTIES_NVX"),
Self::VIDEO_ENCODE_H264_CAPABILITIES_EXT => Some("VIDEO_ENCODE_H264_CAPABILITIES_EXT"),
Self::VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT => {
Some("VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT")
}
Self::VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT => {
Some("VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT")
}
@ -4048,9 +4045,6 @@ impl fmt::Debug for StructureType {
Some("VIDEO_ENCODE_H264_REFERENCE_LISTS_EXT")
}
Self::VIDEO_ENCODE_H265_CAPABILITIES_EXT => Some("VIDEO_ENCODE_H265_CAPABILITIES_EXT"),
Self::VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT => {
Some("VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT")
}
Self::VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT => {
Some("VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT")
}
@ -4080,9 +4074,6 @@ impl fmt::Debug for StructureType {
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_SESSION_CREATE_INFO_EXT => {
Some("VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT")
}
Self::VIDEO_DECODE_H264_PICTURE_INFO_EXT => Some("VIDEO_DECODE_H264_PICTURE_INFO_EXT"),
Self::VIDEO_DECODE_H264_MVC_EXT => Some("VIDEO_DECODE_H264_MVC_EXT"),
Self::VIDEO_DECODE_H264_PROFILE_EXT => Some("VIDEO_DECODE_H264_PROFILE_EXT"),
@ -4453,9 +4444,6 @@ impl fmt::Debug for StructureType {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD")
}
Self::VIDEO_DECODE_H265_CAPABILITIES_EXT => Some("VIDEO_DECODE_H265_CAPABILITIES_EXT"),
Self::VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT => {
Some("VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT")
}
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT")
}
@ -5682,12 +5670,6 @@ impl fmt::Debug for VideoDecodeFlagsKHR {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeH264CreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeH264PictureLayoutFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
@ -5707,12 +5689,6 @@ impl fmt::Debug for VideoDecodeH264PictureLayoutFlagsEXT {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeH265CreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeCapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
@ -5827,15 +5803,6 @@ impl fmt::Debug for VideoEncodeH264CapabilityFlagsEXT {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH264CreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoEncodeH264CreateFlagsEXT::DEFAULT.0, "DEFAULT"),
(VideoEncodeH264CreateFlagsEXT::RESERVED_0.0, "RESERVED_0"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH264InputModeFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
@ -5975,12 +5942,6 @@ impl fmt::Debug for VideoEncodeH265CapabilityFlagsEXT {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265CreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265CtbSizeFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[

View file

@ -56,7 +56,7 @@ pub const API_VERSION_1_1: u32 = make_api_version(0, 1, 1, 0);
pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_API_VERSION_1_3.html>"]
pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
pub const HEADER_VERSION: u32 = 208u32;
pub const HEADER_VERSION: u32 = 209u32;
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
@ -301,21 +301,6 @@ vk_bitflags_wrapped!(VideoBeginCodingFlagsKHR, Flags);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEndCodingFlagsKHR.html>"]
pub struct VideoEndCodingFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEndCodingFlagsKHR, Flags);
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264CreateFlagsEXT.html>"]
pub struct VideoDecodeH264CreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeH264CreateFlagsEXT, Flags);
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH265CreateFlagsEXT.html>"]
pub struct VideoDecodeH265CreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeH265CreateFlagsEXT, Flags);
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CreateFlagsEXT.html>"]
pub struct VideoEncodeH265CreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265CreateFlagsEXT, Flags);
define_handle!(
Instance,
INSTANCE,
@ -48785,6 +48770,7 @@ pub struct VideoCapabilitiesKHR {
pub max_extent: Extent2D,
pub max_reference_pictures_slots_count: u32,
pub max_reference_pictures_active_count: u32,
pub std_header_version: ExtensionProperties,
}
impl ::std::default::Default for VideoCapabilitiesKHR {
fn default() -> Self {
@ -48799,6 +48785,7 @@ impl ::std::default::Default for VideoCapabilitiesKHR {
max_extent: Extent2D::default(),
max_reference_pictures_slots_count: u32::default(),
max_reference_pictures_active_count: u32::default(),
std_header_version: ExtensionProperties::default(),
}
}
}
@ -48875,6 +48862,10 @@ impl<'a> VideoCapabilitiesKHRBuilder<'a> {
self.inner.max_reference_pictures_active_count = max_reference_pictures_active_count;
self
}
pub fn std_header_version(mut self, std_header_version: ExtensionProperties) -> Self {
self.inner.std_header_version = std_header_version;
self
}
#[doc = r" Prepends the given extension struct between the root and the first pointer. This"]
#[doc = r" method only exists on structs that can be passed to a function directly. Only"]
#[doc = r" valid extension structs can be pushed into the chain."]
@ -49447,7 +49438,6 @@ pub struct VideoDecodeH264CapabilitiesEXT {
pub p_next: *mut c_void,
pub max_level: u32,
pub field_offset_granularity: Offset2D,
pub std_extension_version: ExtensionProperties,
}
impl ::std::default::Default for VideoDecodeH264CapabilitiesEXT {
fn default() -> Self {
@ -49456,7 +49446,6 @@ impl ::std::default::Default for VideoDecodeH264CapabilitiesEXT {
p_next: ::std::ptr::null_mut(),
max_level: u32::default(),
field_offset_granularity: Offset2D::default(),
std_extension_version: ExtensionProperties::default(),
}
}
}
@ -49495,10 +49484,6 @@ impl<'a> VideoDecodeH264CapabilitiesEXTBuilder<'a> {
self.inner.field_offset_granularity = field_offset_granularity;
self
}
pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self {
self.inner.std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
@ -49509,68 +49494,6 @@ impl<'a> VideoDecodeH264CapabilitiesEXTBuilder<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264SessionCreateInfoEXT.html>"]
pub struct VideoDecodeH264SessionCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoDecodeH264CreateFlagsEXT,
pub p_std_extension_version: *const ExtensionProperties,
}
impl ::std::default::Default for VideoDecodeH264SessionCreateInfoEXT {
fn default() -> Self {
Self {
s_type: StructureType::VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT,
p_next: ::std::ptr::null(),
flags: VideoDecodeH264CreateFlagsEXT::default(),
p_std_extension_version: ::std::ptr::null(),
}
}
}
impl VideoDecodeH264SessionCreateInfoEXT {
pub fn builder<'a>() -> VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
VideoDecodeH264SessionCreateInfoEXTBuilder {
inner: Self::default(),
marker: ::std::marker::PhantomData,
}
}
}
#[repr(transparent)]
pub struct VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
inner: VideoDecodeH264SessionCreateInfoEXT,
marker: ::std::marker::PhantomData<&'a ()>,
}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoDecodeH264SessionCreateInfoEXTBuilder<'_> {}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoDecodeH264SessionCreateInfoEXT {}
impl<'a> ::std::ops::Deref for VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
type Target = VideoDecodeH264SessionCreateInfoEXT;
fn deref(&self) -> &Self::Target {
&self.inner
}
}
impl<'a> ::std::ops::DerefMut for VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.inner
}
}
impl<'a> VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
pub fn flags(mut self, flags: VideoDecodeH264CreateFlagsEXT) -> Self {
self.inner.flags = flags;
self
}
pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self {
self.inner.p_std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
pub fn build(self) -> VideoDecodeH264SessionCreateInfoEXT {
self.inner
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264SessionParametersAddInfoEXT.html>"]
pub struct VideoDecodeH264SessionParametersAddInfoEXT {
pub s_type: StructureType,
@ -49988,7 +49911,6 @@ pub struct VideoDecodeH265CapabilitiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_level: u32,
pub std_extension_version: ExtensionProperties,
}
impl ::std::default::Default for VideoDecodeH265CapabilitiesEXT {
fn default() -> Self {
@ -49996,7 +49918,6 @@ impl ::std::default::Default for VideoDecodeH265CapabilitiesEXT {
s_type: StructureType::VIDEO_DECODE_H265_CAPABILITIES_EXT,
p_next: ::std::ptr::null_mut(),
max_level: u32::default(),
std_extension_version: ExtensionProperties::default(),
}
}
}
@ -50031,10 +49952,6 @@ impl<'a> VideoDecodeH265CapabilitiesEXTBuilder<'a> {
self.inner.max_level = max_level;
self
}
pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self {
self.inner.std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
@ -50045,72 +49962,12 @@ impl<'a> VideoDecodeH265CapabilitiesEXTBuilder<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH265SessionCreateInfoEXT.html>"]
pub struct VideoDecodeH265SessionCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoDecodeH265CreateFlagsEXT,
pub p_std_extension_version: *const ExtensionProperties,
}
impl ::std::default::Default for VideoDecodeH265SessionCreateInfoEXT {
fn default() -> Self {
Self {
s_type: StructureType::VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT,
p_next: ::std::ptr::null(),
flags: VideoDecodeH265CreateFlagsEXT::default(),
p_std_extension_version: ::std::ptr::null(),
}
}
}
impl VideoDecodeH265SessionCreateInfoEXT {
pub fn builder<'a>() -> VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
VideoDecodeH265SessionCreateInfoEXTBuilder {
inner: Self::default(),
marker: ::std::marker::PhantomData,
}
}
}
#[repr(transparent)]
pub struct VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
inner: VideoDecodeH265SessionCreateInfoEXT,
marker: ::std::marker::PhantomData<&'a ()>,
}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoDecodeH265SessionCreateInfoEXTBuilder<'_> {}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoDecodeH265SessionCreateInfoEXT {}
impl<'a> ::std::ops::Deref for VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
type Target = VideoDecodeH265SessionCreateInfoEXT;
fn deref(&self) -> &Self::Target {
&self.inner
}
}
impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.inner
}
}
impl<'a> VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
pub fn flags(mut self, flags: VideoDecodeH265CreateFlagsEXT) -> Self {
self.inner.flags = flags;
self
}
pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self {
self.inner.p_std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
pub fn build(self) -> VideoDecodeH265SessionCreateInfoEXT {
self.inner
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH265SessionParametersAddInfoEXT.html>"]
pub struct VideoDecodeH265SessionParametersAddInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub vps_std_count: u32,
pub p_vps_std: *const StdVideoH265VideoParameterSet,
pub sps_std_count: u32,
pub p_sps_std: *const StdVideoH265SequenceParameterSet,
pub pps_std_count: u32,
@ -50121,6 +49978,8 @@ impl ::std::default::Default for VideoDecodeH265SessionParametersAddInfoEXT {
Self {
s_type: StructureType::VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT,
p_next: ::std::ptr::null(),
vps_std_count: u32::default(),
p_vps_std: ::std::ptr::null(),
sps_std_count: u32::default(),
p_sps_std: ::std::ptr::null(),
pps_std_count: u32::default(),
@ -50161,6 +50020,11 @@ impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionParametersAddInfoEXTBuil
}
}
impl<'a> VideoDecodeH265SessionParametersAddInfoEXTBuilder<'a> {
pub fn vps_std(mut self, vps_std: &'a [StdVideoH265VideoParameterSet]) -> Self {
self.inner.vps_std_count = vps_std.len() as _;
self.inner.p_vps_std = vps_std.as_ptr();
self
}
pub fn sps_std(mut self, sps_std: &'a [StdVideoH265SequenceParameterSet]) -> Self {
self.inner.sps_std_count = sps_std.len() as _;
self.inner.p_sps_std = sps_std.as_ptr();
@ -50185,6 +50049,7 @@ impl<'a> VideoDecodeH265SessionParametersAddInfoEXTBuilder<'a> {
pub struct VideoDecodeH265SessionParametersCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub max_vps_std_count: u32,
pub max_sps_std_count: u32,
pub max_pps_std_count: u32,
pub p_parameters_add_info: *const VideoDecodeH265SessionParametersAddInfoEXT,
@ -50194,6 +50059,7 @@ impl ::std::default::Default for VideoDecodeH265SessionParametersCreateInfoEXT {
Self {
s_type: StructureType::VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT,
p_next: ::std::ptr::null(),
max_vps_std_count: u32::default(),
max_sps_std_count: u32::default(),
max_pps_std_count: u32::default(),
p_parameters_add_info: ::std::ptr::null(),
@ -50233,6 +50099,10 @@ impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionParametersCreateInfoEXTB
}
}
impl<'a> VideoDecodeH265SessionParametersCreateInfoEXTBuilder<'a> {
pub fn max_vps_std_count(mut self, max_vps_std_count: u32) -> Self {
self.inner.max_vps_std_count = max_vps_std_count;
self
}
pub fn max_sps_std_count(mut self, max_sps_std_count: u32) -> Self {
self.inner.max_sps_std_count = max_sps_std_count;
self
@ -50397,6 +50267,7 @@ pub struct VideoSessionCreateInfoKHR {
pub reference_pictures_format: Format,
pub max_reference_pictures_slots_count: u32,
pub max_reference_pictures_active_count: u32,
pub p_std_header_version: *const ExtensionProperties,
}
impl ::std::default::Default for VideoSessionCreateInfoKHR {
fn default() -> Self {
@ -50411,6 +50282,7 @@ impl ::std::default::Default for VideoSessionCreateInfoKHR {
reference_pictures_format: Format::default(),
max_reference_pictures_slots_count: u32::default(),
max_reference_pictures_active_count: u32::default(),
p_std_header_version: ::std::ptr::null(),
}
}
}
@ -50427,7 +50299,6 @@ pub struct VideoSessionCreateInfoKHRBuilder<'a> {
inner: VideoSessionCreateInfoKHR,
marker: ::std::marker::PhantomData<&'a ()>,
}
pub unsafe trait ExtendsVideoSessionCreateInfoKHR {}
impl<'a> ::std::ops::Deref for VideoSessionCreateInfoKHRBuilder<'a> {
type Target = VideoSessionCreateInfoKHR;
fn deref(&self) -> &Self::Target {
@ -50478,18 +50349,8 @@ impl<'a> VideoSessionCreateInfoKHRBuilder<'a> {
self.inner.max_reference_pictures_active_count = max_reference_pictures_active_count;
self
}
#[doc = r" Prepends the given extension struct between the root and the first pointer. This"]
#[doc = r" method only exists on structs that can be passed to a function directly. Only"]
#[doc = r" valid extension structs can be pushed into the chain."]
#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then the"]
#[doc = r" chain will look like `A -> D -> B -> C`."]
pub fn push_next<T: ExtendsVideoSessionCreateInfoKHR>(mut self, next: &'a mut T) -> Self {
unsafe {
let next_ptr = <*const T>::cast(next);
let last_next = ptr_chain_iter(next).last().unwrap();
(*last_next).p_next = self.inner.p_next as _;
self.inner.p_next = next_ptr;
}
pub fn std_header_version(mut self, std_header_version: &'a ExtensionProperties) -> Self {
self.inner.p_std_header_version = std_header_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
@ -51312,7 +51173,6 @@ pub struct VideoEncodeH264CapabilitiesEXT {
pub max_bits_per_mb_denom: u32,
pub log2_max_mv_length_horizontal: u32,
pub log2_max_mv_length_vertical: u32,
pub std_extension_version: ExtensionProperties,
}
impl ::std::default::Default for VideoEncodeH264CapabilitiesEXT {
fn default() -> Self {
@ -51330,7 +51190,6 @@ impl ::std::default::Default for VideoEncodeH264CapabilitiesEXT {
max_bits_per_mb_denom: u32::default(),
log2_max_mv_length_horizontal: u32::default(),
log2_max_mv_length_vertical: u32::default(),
std_extension_version: ExtensionProperties::default(),
}
}
}
@ -51418,10 +51277,6 @@ impl<'a> VideoEncodeH264CapabilitiesEXTBuilder<'a> {
self.inner.log2_max_mv_length_vertical = log2_max_mv_length_vertical;
self
}
pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self {
self.inner.std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
@ -51432,74 +51287,6 @@ impl<'a> VideoEncodeH264CapabilitiesEXTBuilder<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionCreateInfoEXT.html>"]
pub struct VideoEncodeH264SessionCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoEncodeH264CreateFlagsEXT,
pub max_picture_size_in_mbs: Extent2D,
pub p_std_extension_version: *const ExtensionProperties,
}
impl ::std::default::Default for VideoEncodeH264SessionCreateInfoEXT {
fn default() -> Self {
Self {
s_type: StructureType::VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT,
p_next: ::std::ptr::null(),
flags: VideoEncodeH264CreateFlagsEXT::default(),
max_picture_size_in_mbs: Extent2D::default(),
p_std_extension_version: ::std::ptr::null(),
}
}
}
impl VideoEncodeH264SessionCreateInfoEXT {
pub fn builder<'a>() -> VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
VideoEncodeH264SessionCreateInfoEXTBuilder {
inner: Self::default(),
marker: ::std::marker::PhantomData,
}
}
}
#[repr(transparent)]
pub struct VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
inner: VideoEncodeH264SessionCreateInfoEXT,
marker: ::std::marker::PhantomData<&'a ()>,
}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoEncodeH264SessionCreateInfoEXTBuilder<'_> {}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoEncodeH264SessionCreateInfoEXT {}
impl<'a> ::std::ops::Deref for VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
type Target = VideoEncodeH264SessionCreateInfoEXT;
fn deref(&self) -> &Self::Target {
&self.inner
}
}
impl<'a> ::std::ops::DerefMut for VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.inner
}
}
impl<'a> VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
pub fn flags(mut self, flags: VideoEncodeH264CreateFlagsEXT) -> Self {
self.inner.flags = flags;
self
}
pub fn max_picture_size_in_mbs(mut self, max_picture_size_in_mbs: Extent2D) -> Self {
self.inner.max_picture_size_in_mbs = max_picture_size_in_mbs;
self
}
pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self {
self.inner.p_std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
pub fn build(self) -> VideoEncodeH264SessionCreateInfoEXT {
self.inner
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionParametersAddInfoEXT.html>"]
pub struct VideoEncodeH264SessionParametersAddInfoEXT {
pub s_type: StructureType,
@ -52401,7 +52188,6 @@ pub struct VideoEncodeH265CapabilitiesEXT {
pub max_diff_cu_qp_delta_depth: u8,
pub min_max_num_merge_cand: u8,
pub max_max_num_merge_cand: u8,
pub std_extension_version: ExtensionProperties,
}
impl ::std::default::Default for VideoEncodeH265CapabilitiesEXT {
fn default() -> Self {
@ -52428,7 +52214,6 @@ impl ::std::default::Default for VideoEncodeH265CapabilitiesEXT {
max_diff_cu_qp_delta_depth: u8::default(),
min_max_num_merge_cand: u8::default(),
max_max_num_merge_cand: u8::default(),
std_extension_version: ExtensionProperties::default(),
}
}
}
@ -52583,10 +52368,6 @@ impl<'a> VideoEncodeH265CapabilitiesEXTBuilder<'a> {
self.inner.max_max_num_merge_cand = max_max_num_merge_cand;
self
}
pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self {
self.inner.std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
@ -52597,68 +52378,6 @@ impl<'a> VideoEncodeH265CapabilitiesEXTBuilder<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionCreateInfoEXT.html>"]
pub struct VideoEncodeH265SessionCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoEncodeH265CreateFlagsEXT,
pub p_std_extension_version: *const ExtensionProperties,
}
impl ::std::default::Default for VideoEncodeH265SessionCreateInfoEXT {
fn default() -> Self {
Self {
s_type: StructureType::VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT,
p_next: ::std::ptr::null(),
flags: VideoEncodeH265CreateFlagsEXT::default(),
p_std_extension_version: ::std::ptr::null(),
}
}
}
impl VideoEncodeH265SessionCreateInfoEXT {
pub fn builder<'a>() -> VideoEncodeH265SessionCreateInfoEXTBuilder<'a> {
VideoEncodeH265SessionCreateInfoEXTBuilder {
inner: Self::default(),
marker: ::std::marker::PhantomData,
}
}
}
#[repr(transparent)]
pub struct VideoEncodeH265SessionCreateInfoEXTBuilder<'a> {
inner: VideoEncodeH265SessionCreateInfoEXT,
marker: ::std::marker::PhantomData<&'a ()>,
}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoEncodeH265SessionCreateInfoEXTBuilder<'_> {}
unsafe impl ExtendsVideoSessionCreateInfoKHR for VideoEncodeH265SessionCreateInfoEXT {}
impl<'a> ::std::ops::Deref for VideoEncodeH265SessionCreateInfoEXTBuilder<'a> {
type Target = VideoEncodeH265SessionCreateInfoEXT;
fn deref(&self) -> &Self::Target {
&self.inner
}
}
impl<'a> ::std::ops::DerefMut for VideoEncodeH265SessionCreateInfoEXTBuilder<'a> {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.inner
}
}
impl<'a> VideoEncodeH265SessionCreateInfoEXTBuilder<'a> {
pub fn flags(mut self, flags: VideoEncodeH265CreateFlagsEXT) -> Self {
self.inner.flags = flags;
self
}
pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self {
self.inner.p_std_extension_version = std_extension_version;
self
}
#[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
#[doc = r" necessary! Builders implement `Deref` targeting their corresponding Vulkan struct,"]
#[doc = r" so references to builders can be passed directly to Vulkan functions."]
pub fn build(self) -> VideoEncodeH265SessionCreateInfoEXT {
self.inner
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionParametersAddInfoEXT.html>"]
pub struct VideoEncodeH265SessionParametersAddInfoEXT {
pub s_type: StructureType,

View file

@ -1822,7 +1822,7 @@ impl KhrVideoQueueFn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_KHR_video_queue\0") }
}
pub const SPEC_VERSION: u32 = 2u32;
pub const SPEC_VERSION: u32 = 3u32;
}
#[allow(non_camel_case_types)]
pub type PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR = unsafe extern "system" fn(
@ -3047,7 +3047,7 @@ impl ExtVideoEncodeH264Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_video_encode_h264\0") }
}
pub const SPEC_VERSION: u32 = 5u32;
pub const SPEC_VERSION: u32 = 6u32;
}
#[derive(Clone)]
pub struct ExtVideoEncodeH264Fn {}
@ -3064,17 +3064,16 @@ impl ExtVideoEncodeH264Fn {
#[doc = "Generated from 'VK_EXT_video_encode_h264'"]
impl StructureType {
pub const VIDEO_ENCODE_H264_CAPABILITIES_EXT: Self = Self(1_000_038_000);
pub const VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT: Self = Self(1_000_038_001);
pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_038_002);
pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_038_003);
pub const VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT: Self = Self(1_000_038_004);
pub const VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT: Self = Self(1_000_038_005);
pub const VIDEO_ENCODE_H264_NALU_SLICE_EXT: Self = Self(1_000_038_006);
pub const VIDEO_ENCODE_H264_EMIT_PICTURE_PARAMETERS_EXT: Self = Self(1_000_038_007);
pub const VIDEO_ENCODE_H264_PROFILE_EXT: Self = Self(1_000_038_008);
pub const VIDEO_ENCODE_H264_RATE_CONTROL_INFO_EXT: Self = Self(1_000_038_009);
pub const VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_EXT: Self = Self(1_000_038_010);
pub const VIDEO_ENCODE_H264_REFERENCE_LISTS_EXT: Self = Self(1_000_038_011);
pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_038_001);
pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_038_002);
pub const VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT: Self = Self(1_000_038_003);
pub const VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT: Self = Self(1_000_038_004);
pub const VIDEO_ENCODE_H264_NALU_SLICE_EXT: Self = Self(1_000_038_005);
pub const VIDEO_ENCODE_H264_EMIT_PICTURE_PARAMETERS_EXT: Self = Self(1_000_038_006);
pub const VIDEO_ENCODE_H264_PROFILE_EXT: Self = Self(1_000_038_007);
pub const VIDEO_ENCODE_H264_RATE_CONTROL_INFO_EXT: Self = Self(1_000_038_008);
pub const VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_EXT: Self = Self(1_000_038_009);
pub const VIDEO_ENCODE_H264_REFERENCE_LISTS_EXT: Self = Self(1_000_038_010);
}
#[doc = "Generated from 'VK_EXT_video_encode_h264'"]
impl VideoCodecOperationFlagsKHR {
@ -3084,7 +3083,7 @@ impl ExtVideoEncodeH265Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_video_encode_h265\0") }
}
pub const SPEC_VERSION: u32 = 5u32;
pub const SPEC_VERSION: u32 = 6u32;
}
#[derive(Clone)]
pub struct ExtVideoEncodeH265Fn {}
@ -3101,17 +3100,16 @@ impl ExtVideoEncodeH265Fn {
#[doc = "Generated from 'VK_EXT_video_encode_h265'"]
impl StructureType {
pub const VIDEO_ENCODE_H265_CAPABILITIES_EXT: Self = Self(1_000_039_000);
pub const VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT: Self = Self(1_000_039_001);
pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_039_002);
pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_039_003);
pub const VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT: Self = Self(1_000_039_004);
pub const VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXT: Self = Self(1_000_039_005);
pub const VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_EXT: Self = Self(1_000_039_006);
pub const VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_EXT: Self = Self(1_000_039_007);
pub const VIDEO_ENCODE_H265_PROFILE_EXT: Self = Self(1_000_039_008);
pub const VIDEO_ENCODE_H265_REFERENCE_LISTS_EXT: Self = Self(1_000_039_009);
pub const VIDEO_ENCODE_H265_RATE_CONTROL_INFO_EXT: Self = Self(1_000_039_010);
pub const VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT: Self = Self(1_000_039_011);
pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_039_001);
pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_039_002);
pub const VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT: Self = Self(1_000_039_003);
pub const VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXT: Self = Self(1_000_039_004);
pub const VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_EXT: Self = Self(1_000_039_005);
pub const VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_EXT: Self = Self(1_000_039_006);
pub const VIDEO_ENCODE_H265_PROFILE_EXT: Self = Self(1_000_039_007);
pub const VIDEO_ENCODE_H265_REFERENCE_LISTS_EXT: Self = Self(1_000_039_008);
pub const VIDEO_ENCODE_H265_RATE_CONTROL_INFO_EXT: Self = Self(1_000_039_009);
pub const VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT: Self = Self(1_000_039_010);
}
#[doc = "Generated from 'VK_EXT_video_encode_h265'"]
impl VideoCodecOperationFlagsKHR {
@ -3121,7 +3119,7 @@ impl ExtVideoDecodeH264Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_video_decode_h264\0") }
}
pub const SPEC_VERSION: u32 = 3u32;
pub const SPEC_VERSION: u32 = 4u32;
}
#[derive(Clone)]
pub struct ExtVideoDecodeH264Fn {}
@ -3138,13 +3136,12 @@ impl ExtVideoDecodeH264Fn {
#[doc = "Generated from 'VK_EXT_video_decode_h264'"]
impl StructureType {
pub const VIDEO_DECODE_H264_CAPABILITIES_EXT: Self = Self(1_000_040_000);
pub const VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT: Self = Self(1_000_040_001);
pub const VIDEO_DECODE_H264_PICTURE_INFO_EXT: Self = Self(1_000_040_002);
pub const VIDEO_DECODE_H264_MVC_EXT: Self = Self(1_000_040_003);
pub const VIDEO_DECODE_H264_PROFILE_EXT: Self = Self(1_000_040_004);
pub const VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_040_005);
pub const VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_040_006);
pub const VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT: Self = Self(1_000_040_007);
pub const VIDEO_DECODE_H264_PICTURE_INFO_EXT: Self = Self(1_000_040_001);
pub const VIDEO_DECODE_H264_MVC_EXT: Self = Self(1_000_040_002);
pub const VIDEO_DECODE_H264_PROFILE_EXT: Self = Self(1_000_040_003);
pub const VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_040_004);
pub const VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_040_005);
pub const VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT: Self = Self(1_000_040_006);
}
#[doc = "Generated from 'VK_EXT_video_decode_h264'"]
impl VideoCodecOperationFlagsKHR {
@ -11491,7 +11488,7 @@ impl ExtVideoDecodeH265Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_video_decode_h265\0") }
}
pub const SPEC_VERSION: u32 = 1u32;
pub const SPEC_VERSION: u32 = 2u32;
}
#[derive(Clone)]
pub struct ExtVideoDecodeH265Fn {}
@ -11508,12 +11505,11 @@ impl ExtVideoDecodeH265Fn {
#[doc = "Generated from 'VK_EXT_video_decode_h265'"]
impl StructureType {
pub const VIDEO_DECODE_H265_CAPABILITIES_EXT: Self = Self(1_000_187_000);
pub const VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT: Self = Self(1_000_187_001);
pub const VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_187_002);
pub const VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_187_003);
pub const VIDEO_DECODE_H265_PROFILE_EXT: Self = Self(1_000_187_004);
pub const VIDEO_DECODE_H265_PICTURE_INFO_EXT: Self = Self(1_000_187_005);
pub const VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT: Self = Self(1_000_187_006);
pub const VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT: Self = Self(1_000_187_001);
pub const VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT: Self = Self(1_000_187_002);
pub const VIDEO_DECODE_H265_PROFILE_EXT: Self = Self(1_000_187_003);
pub const VIDEO_DECODE_H265_PICTURE_INFO_EXT: Self = Self(1_000_187_004);
pub const VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT: Self = Self(1_000_187_005);
}
#[doc = "Generated from 'VK_EXT_video_decode_h265'"]
impl VideoCodecOperationFlagsKHR {
@ -21203,3 +21199,61 @@ impl ExtExtension460Fn {
Self {}
}
}
impl ExtExtension461Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_461\0") }
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct ExtExtension461Fn {}
unsafe impl Send for ExtExtension461Fn {}
unsafe impl Sync for ExtExtension461Fn {}
impl ExtExtension461Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}
#[doc = "Generated from 'VK_EXT_extension_461'"]
impl FormatFeatureFlags2 {
pub const RESERVED_39_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
}
impl ExtExtension462Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_462\0") }
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct ExtExtension462Fn {}
unsafe impl Send for ExtExtension462Fn {}
unsafe impl Sync for ExtExtension462Fn {}
impl ExtExtension462Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}
impl ExtExtension463Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_463\0") }
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct ExtExtension463Fn {}
unsafe impl Send for ExtExtension463Fn {}
unsafe impl Sync for ExtExtension463Fn {}
impl ExtExtension463Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit 384881cc90fe243b4d29bfbc359f59752c2be995
Subproject commit 7ad5775f8ab8d8db906fa6ebc72f14b6e9594a88