Update Vulkan-Headers to 1.3.210 (#605)

This commit is contained in:
Marijn Suijten 2022-04-01 06:31:19 +02:00 committed by GitHub
parent 362cf83fa8
commit 8dd682bac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 319 additions and 26 deletions

View file

@ -1115,6 +1115,17 @@ vk_bitflags_wrapped!(PipelineDepthStencilStateCreateFlags, Flags);
impl PipelineDepthStencilStateCreateFlags {} impl PipelineDepthStencilStateCreateFlags {}
#[repr(transparent)] #[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkGraphicsPipelineLibraryFlagBitsEXT.html>"]
pub struct GraphicsPipelineLibraryFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(GraphicsPipelineLibraryFlagsEXT, Flags);
impl GraphicsPipelineLibraryFlagsEXT {
pub const VERTEX_INPUT_INTERFACE: Self = Self(0b1);
pub const PRE_RASTERIZATION_SHADERS: Self = Self(0b10);
pub const FRAGMENT_SHADER: Self = Self(0b100);
pub const FRAGMENT_OUTPUT_INTERFACE: 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/VkVideoCodecOperationFlagBitsKHR.html>"] #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoCodecOperationFlagBitsKHR.html>"]
pub struct VideoCodecOperationFlagsKHR(pub(crate) Flags); pub struct VideoCodecOperationFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoCodecOperationFlagsKHR, Flags); vk_bitflags_wrapped!(VideoCodecOperationFlagsKHR, Flags);

View file

@ -305,6 +305,8 @@ impl fmt::Debug for AccessFlags2 {
"INVOCATION_MASK_READ_HUAWEI", "INVOCATION_MASK_READ_HUAWEI",
), ),
(AccessFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"), (AccessFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"),
(AccessFlags2::RESERVED_42_NV.0, "RESERVED_42_NV"),
(AccessFlags2::RESERVED_43_NV.0, "RESERVED_43_NV"),
]; ];
debug_flags(f, KNOWN, self.0) debug_flags(f, KNOWN, self.0)
} }
@ -1926,7 +1928,7 @@ impl fmt::Debug for FormatFeatureFlags {
} }
impl fmt::Debug for FormatFeatureFlags2 { impl fmt::Debug for FormatFeatureFlags2 {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 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") , (FormatFeatureFlags2 :: RESERVED_39_EXT . 0 , "RESERVED_39_EXT")] ; 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") , (FormatFeatureFlags2 :: RESERVED_40_NV . 0 , "RESERVED_40_NV") , (FormatFeatureFlags2 :: RESERVED_41_NV . 0 , "RESERVED_41_NV") , (FormatFeatureFlags2 :: RESERVED_42_NV . 0 , "RESERVED_42_NV") , (FormatFeatureFlags2 :: RESERVED_43_NV . 0 , "RESERVED_43_NV")] ;
debug_flags(f, KNOWN, self.0) debug_flags(f, KNOWN, self.0)
} }
} }
@ -2068,6 +2070,29 @@ impl fmt::Debug for GeometryTypeKHR {
} }
} }
} }
impl fmt::Debug for GraphicsPipelineLibraryFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
GraphicsPipelineLibraryFlagsEXT::VERTEX_INPUT_INTERFACE.0,
"VERTEX_INPUT_INTERFACE",
),
(
GraphicsPipelineLibraryFlagsEXT::PRE_RASTERIZATION_SHADERS.0,
"PRE_RASTERIZATION_SHADERS",
),
(
GraphicsPipelineLibraryFlagsEXT::FRAGMENT_SHADER.0,
"FRAGMENT_SHADER",
),
(
GraphicsPipelineLibraryFlagsEXT::FRAGMENT_OUTPUT_INTERFACE.0,
"FRAGMENT_OUTPUT_INTERFACE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for HeadlessSurfaceCreateFlagsEXT { impl fmt::Debug for HeadlessSurfaceCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[]; const KNOWN: &[(Flags, &str)] = &[];
@ -2854,8 +2879,14 @@ impl fmt::Debug for PipelineCreateFlags {
"INDIRECT_BINDABLE_NV", "INDIRECT_BINDABLE_NV",
), ),
(PipelineCreateFlags::LIBRARY_KHR.0, "LIBRARY_KHR"), (PipelineCreateFlags::LIBRARY_KHR.0, "LIBRARY_KHR"),
(PipelineCreateFlags::RESERVED_23_AMD.0, "RESERVED_23_AMD"), (
(PipelineCreateFlags::RESERVED_10_AMD.0, "RESERVED_10_AMD"), PipelineCreateFlags::RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT.0,
"RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT",
),
(
PipelineCreateFlags::LINK_TIME_OPTIMIZATION_EXT.0,
"LINK_TIME_OPTIMIZATION_EXT",
),
( (
PipelineCreateFlags::RAY_TRACING_ALLOW_MOTION_NV.0, PipelineCreateFlags::RAY_TRACING_ALLOW_MOTION_NV.0,
"RAY_TRACING_ALLOW_MOTION_NV", "RAY_TRACING_ALLOW_MOTION_NV",
@ -2941,8 +2972,8 @@ impl fmt::Debug for PipelineLayoutCreateFlags {
"RESERVED_0_AMD", "RESERVED_0_AMD",
), ),
( (
PipelineLayoutCreateFlags::RESERVED_1_AMD.0, PipelineLayoutCreateFlags::INDEPENDENT_SETS_EXT.0,
"RESERVED_1_AMD", "INDEPENDENT_SETS_EXT",
), ),
]; ];
debug_flags(f, KNOWN, self.0) debug_flags(f, KNOWN, self.0)
@ -3161,6 +3192,7 @@ impl fmt::Debug for PipelineStageFlags2 {
"INVOCATION_MASK_HUAWEI", "INVOCATION_MASK_HUAWEI",
), ),
(PipelineStageFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"), (PipelineStageFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"),
(PipelineStageFlags2::RESERVED_29_NV.0, "RESERVED_29_NV"),
]; ];
debug_flags(f, KNOWN, self.0) debug_flags(f, KNOWN, self.0)
} }
@ -3405,6 +3437,7 @@ impl fmt::Debug for QueryType {
Self::VIDEO_ENCODESTREAM_BUFFER_RANGE_KHR => { Self::VIDEO_ENCODESTREAM_BUFFER_RANGE_KHR => {
Some("VIDEO_ENCODESTREAM_BUFFER_RANGE_KHR") Some("VIDEO_ENCODESTREAM_BUFFER_RANGE_KHR")
} }
Self::PRIMITIVES_GENERATED_EXT => Some("PRIMITIVES_GENERATED_EXT"),
_ => None, _ => None,
}; };
if let Some(x) = name { if let Some(x) = name {
@ -3424,6 +3457,7 @@ impl fmt::Debug for QueueFlags {
(QueueFlags::VIDEO_DECODE_KHR.0, "VIDEO_DECODE_KHR"), (QueueFlags::VIDEO_DECODE_KHR.0, "VIDEO_DECODE_KHR"),
(QueueFlags::VIDEO_ENCODE_KHR.0, "VIDEO_ENCODE_KHR"), (QueueFlags::VIDEO_ENCODE_KHR.0, "VIDEO_ENCODE_KHR"),
(QueueFlags::RESERVED_7_QCOM.0, "RESERVED_7_QCOM"), (QueueFlags::RESERVED_7_QCOM.0, "RESERVED_7_QCOM"),
(QueueFlags::RESERVED_8_NV.0, "RESERVED_8_NV"),
(QueueFlags::PROTECTED.0, "PROTECTED"), (QueueFlags::PROTECTED.0, "PROTECTED"),
]; ];
debug_flags(f, KNOWN, self.0) debug_flags(f, KNOWN, self.0)
@ -4739,6 +4773,15 @@ impl fmt::Debug for StructureType {
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV") Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV")
} }
Self::CHECKPOINT_DATA_2_NV => Some("CHECKPOINT_DATA_2_NV"), Self::CHECKPOINT_DATA_2_NV => Some("CHECKPOINT_DATA_2_NV"),
Self::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT")
}
Self::GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT => {
Some("GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR => { Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR") Some("PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR")
} }
@ -4873,6 +4916,9 @@ impl fmt::Debug for StructureType {
Self::PIPELINE_COLOR_WRITE_CREATE_INFO_EXT => { Self::PIPELINE_COLOR_WRITE_CREATE_INFO_EXT => {
Some("PIPELINE_COLOR_WRITE_CREATE_INFO_EXT") Some("PIPELINE_COLOR_WRITE_CREATE_INFO_EXT")
} }
Self::PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT => { Self::PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT") Some("PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT")
} }

View file

@ -57,7 +57,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); 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>"] #[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 API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
pub const HEADER_VERSION: u32 = 209u32; pub const HEADER_VERSION: u32 = 210u32;
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"] #[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); 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>"] #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
@ -3018,6 +3018,7 @@ impl ::std::default::Default for ShaderModuleCreateInfo<'_> {
} }
} }
} }
unsafe impl ExtendsPipelineShaderStageCreateInfo for ShaderModuleCreateInfo<'_> {}
pub unsafe trait ExtendsShaderModuleCreateInfo {} pub unsafe trait ExtendsShaderModuleCreateInfo {}
impl<'a> ShaderModuleCreateInfo<'a> { impl<'a> ShaderModuleCreateInfo<'a> {
#[inline] #[inline]
@ -16840,6 +16841,7 @@ impl ::std::default::Default for DebugUtilsObjectNameInfoEXT<'_> {
} }
} }
} }
unsafe impl ExtendsPipelineShaderStageCreateInfo for DebugUtilsObjectNameInfoEXT<'_> {}
impl<'a> DebugUtilsObjectNameInfoEXT<'a> { impl<'a> DebugUtilsObjectNameInfoEXT<'a> {
#[inline] #[inline]
pub fn object_type(mut self, object_type: ObjectType) -> Self { pub fn object_type(mut self, object_type: ObjectType) -> Self {
@ -29336,6 +29338,7 @@ impl ::std::default::Default for PipelineLibraryCreateInfoKHR<'_> {
} }
} }
} }
unsafe impl ExtendsGraphicsPipelineCreateInfo for PipelineLibraryCreateInfoKHR<'_> {}
impl<'a> PipelineLibraryCreateInfoKHR<'a> { impl<'a> PipelineLibraryCreateInfoKHR<'a> {
#[inline] #[inline]
pub fn libraries(mut self, libraries: &'a [Pipeline]) -> Self { pub fn libraries(mut self, libraries: &'a [Pipeline]) -> Self {
@ -32275,6 +32278,60 @@ impl<'a> PhysicalDeviceSynchronization2Features<'a> {
#[repr(C)] #[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))] #[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.html>"]
pub struct PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub primitives_generated_query: Bool32,
pub primitives_generated_query_with_rasterizer_discard: Bool32,
pub primitives_generated_query_with_non_zero_streams: Bool32,
pub _marker: PhantomData<&'a ()>,
}
impl ::std::default::Default for PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'_> {
fn default() -> Self {
Self {
s_type: StructureType::PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT,
p_next: ::std::ptr::null_mut(),
primitives_generated_query: Bool32::default(),
primitives_generated_query_with_rasterizer_discard: Bool32::default(),
primitives_generated_query_with_non_zero_streams: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl ExtendsPhysicalDeviceFeatures2
for PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'_>
{
}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'_> {}
impl<'a> PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'a> {
#[inline]
pub fn primitives_generated_query(mut self, primitives_generated_query: bool) -> Self {
self.primitives_generated_query = primitives_generated_query.into();
self
}
#[inline]
pub fn primitives_generated_query_with_rasterizer_discard(
mut self,
primitives_generated_query_with_rasterizer_discard: bool,
) -> Self {
self.primitives_generated_query_with_rasterizer_discard =
primitives_generated_query_with_rasterizer_discard.into();
self
}
#[inline]
pub fn primitives_generated_query_with_non_zero_streams(
mut self,
primitives_generated_query_with_non_zero_streams: bool,
) -> Self {
self.primitives_generated_query_with_non_zero_streams =
primitives_generated_query_with_non_zero_streams.into();
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoQueueFamilyProperties2KHR.html>"] #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoQueueFamilyProperties2KHR.html>"]
pub struct VideoQueueFamilyProperties2KHR<'a> { pub struct VideoQueueFamilyProperties2KHR<'a> {
pub s_type: StructureType, pub s_type: StructureType,
@ -38172,6 +38229,111 @@ impl<'a> PhysicalDeviceLinearColorAttachmentFeaturesNV<'a> {
#[repr(C)] #[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))] #[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT.html>"]
pub struct PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub graphics_pipeline_library: Bool32,
pub _marker: PhantomData<&'a ()>,
}
impl ::std::default::Default for PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'_> {
fn default() -> Self {
Self {
s_type: StructureType::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT,
p_next: ::std::ptr::null_mut(),
graphics_pipeline_library: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl ExtendsPhysicalDeviceFeatures2
for PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'_>
{
}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'_> {}
impl<'a> PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'a> {
#[inline]
pub fn graphics_pipeline_library(mut self, graphics_pipeline_library: bool) -> Self {
self.graphics_pipeline_library = graphics_pipeline_library.into();
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT.html>"]
pub struct PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub graphics_pipeline_library_fast_linking: Bool32,
pub graphics_pipeline_library_independent_interpolation_decoration: Bool32,
pub _marker: PhantomData<&'a ()>,
}
impl ::std::default::Default for PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'_> {
fn default() -> Self {
Self {
s_type: StructureType::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT,
p_next: ::std::ptr::null_mut(),
graphics_pipeline_library_fast_linking: Bool32::default(),
graphics_pipeline_library_independent_interpolation_decoration: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl ExtendsPhysicalDeviceProperties2
for PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'_>
{
}
impl<'a> PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'a> {
#[inline]
pub fn graphics_pipeline_library_fast_linking(
mut self,
graphics_pipeline_library_fast_linking: bool,
) -> Self {
self.graphics_pipeline_library_fast_linking = graphics_pipeline_library_fast_linking.into();
self
}
#[inline]
pub fn graphics_pipeline_library_independent_interpolation_decoration(
mut self,
graphics_pipeline_library_independent_interpolation_decoration: bool,
) -> Self {
self.graphics_pipeline_library_independent_interpolation_decoration =
graphics_pipeline_library_independent_interpolation_decoration.into();
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkGraphicsPipelineLibraryCreateInfoEXT.html>"]
pub struct GraphicsPipelineLibraryCreateInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: GraphicsPipelineLibraryFlagsEXT,
pub _marker: PhantomData<&'a ()>,
}
impl ::std::default::Default for GraphicsPipelineLibraryCreateInfoEXT<'_> {
fn default() -> Self {
Self {
s_type: StructureType::GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT,
p_next: ::std::ptr::null_mut(),
flags: GraphicsPipelineLibraryFlagsEXT::default(),
_marker: PhantomData,
}
}
}
unsafe impl ExtendsGraphicsPipelineCreateInfo for GraphicsPipelineLibraryCreateInfoEXT<'_> {}
impl<'a> GraphicsPipelineLibraryCreateInfoEXT<'a> {
#[inline]
pub fn flags(mut self, flags: GraphicsPipelineLibraryFlagsEXT) -> Self {
self.flags = flags;
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE.html>"] #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE.html>"]
pub struct PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE<'a> { pub struct PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE<'a> {
pub s_type: StructureType, pub s_type: StructureType,

View file

@ -17068,17 +17068,19 @@ impl AmdExtension320Fn {
Self {} Self {}
} }
} }
impl AmdExtension321Fn { impl ExtGraphicsPipelineLibraryFn {
pub const fn name() -> &'static ::std::ffi::CStr { pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_AMD_extension_321\0") } unsafe {
::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_graphics_pipeline_library\0")
} }
pub const SPEC_VERSION: u32 = 0u32; }
pub const SPEC_VERSION: u32 = 1u32;
} }
#[derive(Clone)] #[derive(Clone)]
pub struct AmdExtension321Fn {} pub struct ExtGraphicsPipelineLibraryFn {}
unsafe impl Send for AmdExtension321Fn {} unsafe impl Send for ExtGraphicsPipelineLibraryFn {}
unsafe impl Sync for AmdExtension321Fn {} unsafe impl Sync for ExtGraphicsPipelineLibraryFn {}
impl AmdExtension321Fn { impl ExtGraphicsPipelineLibraryFn {
pub fn load<F>(mut _f: F) -> Self pub fn load<F>(mut _f: F) -> Self
where where
F: FnMut(&::std::ffi::CStr) -> *const c_void, F: FnMut(&::std::ffi::CStr) -> *const c_void,
@ -17086,14 +17088,20 @@ impl AmdExtension321Fn {
Self {} Self {}
} }
} }
#[doc = "Generated from 'VK_AMD_extension_321'"] #[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"]
impl PipelineCreateFlags { impl PipelineCreateFlags {
pub const RESERVED_23_AMD: Self = Self(0b1000_0000_0000_0000_0000_0000); pub const RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000);
pub const RESERVED_10_AMD: Self = Self(0b100_0000_0000); pub const LINK_TIME_OPTIMIZATION_EXT: Self = Self(0b100_0000_0000);
} }
#[doc = "Generated from 'VK_AMD_extension_321'"] #[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"]
impl PipelineLayoutCreateFlags { impl PipelineLayoutCreateFlags {
pub const RESERVED_1_AMD: Self = Self(0b10); pub const INDEPENDENT_SETS_EXT: Self = Self(0b10);
}
#[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"]
impl StructureType {
pub const PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: Self = Self(1_000_320_000);
pub const PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: Self = Self(1_000_320_001);
pub const GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: Self = Self(1_000_320_002);
} }
impl AmdExtension322Fn { impl AmdExtension322Fn {
pub const fn name() -> &'static ::std::ffi::CStr { pub const fn name() -> &'static ::std::ffi::CStr {
@ -19411,17 +19419,19 @@ impl StructureType {
pub const PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: Self = Self(1_000_381_000); pub const PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: Self = Self(1_000_381_000);
pub const PIPELINE_COLOR_WRITE_CREATE_INFO_EXT: Self = Self(1_000_381_001); pub const PIPELINE_COLOR_WRITE_CREATE_INFO_EXT: Self = Self(1_000_381_001);
} }
impl ExtExtension383Fn { impl ExtPrimitivesGeneratedQueryFn {
pub const fn name() -> &'static ::std::ffi::CStr { pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_383\0") } unsafe {
::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_primitives_generated_query\0")
} }
pub const SPEC_VERSION: u32 = 0u32; }
pub const SPEC_VERSION: u32 = 1u32;
} }
#[derive(Clone)] #[derive(Clone)]
pub struct ExtExtension383Fn {} pub struct ExtPrimitivesGeneratedQueryFn {}
unsafe impl Send for ExtExtension383Fn {} unsafe impl Send for ExtPrimitivesGeneratedQueryFn {}
unsafe impl Sync for ExtExtension383Fn {} unsafe impl Sync for ExtPrimitivesGeneratedQueryFn {}
impl ExtExtension383Fn { impl ExtPrimitivesGeneratedQueryFn {
pub fn load<F>(mut _f: F) -> Self pub fn load<F>(mut _f: F) -> Self
where where
F: FnMut(&::std::ffi::CStr) -> *const c_void, F: FnMut(&::std::ffi::CStr) -> *const c_void,
@ -19429,6 +19439,14 @@ impl ExtExtension383Fn {
Self {} Self {}
} }
} }
#[doc = "Generated from 'VK_EXT_primitives_generated_query'"]
impl QueryType {
pub const PRIMITIVES_GENERATED_EXT: Self = Self(1_000_382_000);
}
#[doc = "Generated from 'VK_EXT_primitives_generated_query'"]
impl StructureType {
pub const PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT: Self = Self(1_000_382_000);
}
impl ExtExtension384Fn { impl ExtExtension384Fn {
pub const fn name() -> &'static ::std::ffi::CStr { pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_384\0") } unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_384\0") }
@ -21257,3 +21275,59 @@ impl ExtExtension463Fn {
Self {} Self {}
} }
} }
impl NvExtension465Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_NV_extension_465\0") }
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct NvExtension465Fn {}
unsafe impl Send for NvExtension465Fn {}
unsafe impl Sync for NvExtension465Fn {}
impl NvExtension465Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}
#[doc = "Generated from 'VK_NV_extension_465'"]
impl AccessFlags2 {
pub const RESERVED_42_NV: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const RESERVED_43_NV: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
}
#[doc = "Generated from 'VK_NV_extension_465'"]
impl FormatFeatureFlags2 {
pub const RESERVED_40_NV: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const RESERVED_41_NV: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const RESERVED_42_NV: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const RESERVED_43_NV: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
}
#[doc = "Generated from 'VK_NV_extension_465'"]
impl PipelineStageFlags2 {
pub const RESERVED_29_NV: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000);
}
#[doc = "Generated from 'VK_NV_extension_465'"]
impl QueueFlags {
pub const RESERVED_8_NV: Self = Self(0b1_0000_0000);
}
impl ExtExtension464Fn {
pub const fn name() -> &'static ::std::ffi::CStr {
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extension_464\0") }
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct ExtExtension464Fn {}
unsafe impl Send for ExtExtension464Fn {}
unsafe impl Sync for ExtExtension464Fn {}
impl ExtExtension464Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}

@ -1 +1 @@
Subproject commit 7ad5775f8ab8d8db906fa6ebc72f14b6e9594a88 Subproject commit 0c5928795a66e93f65e5e68a36d8daa79a209dc2