Update Vulkan-Headers to 1.2.202

This commit is contained in:
Marijn Suijten 2021-12-07 10:38:57 +01:00 committed by Benjamin Saunders
parent f0c743a636
commit 428830ad4f
4 changed files with 26 additions and 2 deletions

View file

@ -2103,6 +2103,7 @@ impl fmt::Debug for ImageAspectFlags {
(ImageAspectFlags::MEMORY_PLANE_1_EXT.0, "MEMORY_PLANE_1_EXT"),
(ImageAspectFlags::MEMORY_PLANE_2_EXT.0, "MEMORY_PLANE_2_EXT"),
(ImageAspectFlags::MEMORY_PLANE_3_EXT.0, "MEMORY_PLANE_3_EXT"),
(ImageAspectFlags::NONE_KHR.0, "NONE_KHR"),
(ImageAspectFlags::PLANE_0.0, "PLANE_0"),
(ImageAspectFlags::PLANE_1.0, "PLANE_1"),
(ImageAspectFlags::PLANE_2.0, "PLANE_2"),

View file

@ -54,7 +54,7 @@ pub const API_VERSION_1_0: u32 = make_api_version(0, 1, 0, 0);
pub const API_VERSION_1_1: u32 = make_api_version(0, 1, 1, 0);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_1_2.html>"]
pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
pub const HEADER_VERSION: u32 = 201u32;
pub const HEADER_VERSION: u32 = 202u32;
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 2, HEADER_VERSION);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampleMask.html>"]

View file

@ -26246,6 +26246,10 @@ impl StructureType {
impl StructureType {
pub const DEVICE_IMAGE_MEMORY_REQUIREMENTS_KHR: Self = Self(1_000_413_003);
}
#[doc = "Generated from 'VK_KHR_maintenance4'"]
impl ImageAspectFlags {
pub const NONE_KHR: Self = Self(0);
}
impl HuaweiExtension415Fn {
pub fn name() -> &'static ::std::ffi::CStr {
::std::ffi::CStr::from_bytes_with_nul(b"VK_HUAWEI_extension_415\0")
@ -26710,3 +26714,22 @@ impl ExtExtension438Fn {
Self {}
}
}
impl SecExtension439Fn {
pub fn name() -> &'static ::std::ffi::CStr {
::std::ffi::CStr::from_bytes_with_nul(b"VK_SEC_extension_439\0")
.expect("Wrong extension string")
}
pub const SPEC_VERSION: u32 = 0u32;
}
#[derive(Clone)]
pub struct SecExtension439Fn {}
unsafe impl Send for SecExtension439Fn {}
unsafe impl Sync for SecExtension439Fn {}
impl SecExtension439Fn {
pub fn load<F>(mut _f: F) -> Self
where
F: FnMut(&::std::ffi::CStr) -> *const c_void,
{
Self {}
}
}

@ -1 +1 @@
Subproject commit ea61f32f24d2ce28b358e154910fb4eb410ffd79
Subproject commit e005e1f8175d006adc3676b40ac3dd2212961a68