diff --git a/ash/src/vk/const_debugs.rs b/ash/src/vk/const_debugs.rs index 77f04dcec..0fac0de13 100644 --- a/ash/src/vk/const_debugs.rs +++ b/ash/src/vk/const_debugs.rs @@ -5531,6 +5531,7 @@ impl fmt::Debug for StructureType { Some("DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV") } Self::REFRESH_OBJECT_LIST_KHR => Some("REFRESH_OBJECT_LIST_KHR"), + Self::QUERY_LOW_LATENCY_SUPPORT_NV => Some("QUERY_LOW_LATENCY_SUPPORT_NV"), Self::EXPORT_METAL_OBJECT_CREATE_INFO_EXT => { Some("EXPORT_METAL_OBJECT_CREATE_INFO_EXT") } diff --git a/ash/src/vk/definitions.rs b/ash/src/vk/definitions.rs index 717c5201c..a7d0c82cb 100644 --- a/ash/src/vk/definitions.rs +++ b/ash/src/vk/definitions.rs @@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0); #[doc = ""] pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0); #[doc = ""] -pub const HEADER_VERSION: u32 = 241; +pub const HEADER_VERSION: u32 = 242; #[doc = ""] pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION); #[doc = ""] @@ -49145,3 +49145,35 @@ impl<'a> MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM<'a> { self } } +#[repr(C)] +#[cfg_attr(feature = "debug", derive(Debug))] +#[derive(Copy, Clone)] +#[doc = ""] +pub struct QueryLowLatencySupportNV<'a> { + pub s_type: StructureType, + pub p_next: *const c_void, + pub p_queried_low_latency_data: *mut c_void, + pub _marker: PhantomData<&'a ()>, +} +impl ::std::default::Default for QueryLowLatencySupportNV<'_> { + #[inline] + fn default() -> Self { + Self { + s_type: Self::STRUCTURE_TYPE, + p_next: ::std::ptr::null(), + p_queried_low_latency_data: ::std::ptr::null_mut(), + _marker: PhantomData, + } + } +} +unsafe impl<'a> TaggedStructure for QueryLowLatencySupportNV<'a> { + const STRUCTURE_TYPE: StructureType = StructureType::QUERY_LOW_LATENCY_SUPPORT_NV; +} +unsafe impl ExtendsSemaphoreCreateInfo for QueryLowLatencySupportNV<'_> {} +impl<'a> QueryLowLatencySupportNV<'a> { + #[inline] + pub fn queried_low_latency_data(mut self, queried_low_latency_data: *mut c_void) -> Self { + self.p_queried_low_latency_data = queried_low_latency_data; + self + } +} diff --git a/ash/src/vk/extensions.rs b/ash/src/vk/extensions.rs index 71e1eaa63..89de29bf5 100644 --- a/ash/src/vk/extensions.rs +++ b/ash/src/vk/extensions.rs @@ -15658,6 +15658,29 @@ impl KhrObjectRefreshFn { impl StructureType { pub const REFRESH_OBJECT_LIST_KHR: Self = Self(1_000_308_000); } +impl NvLowLatencyFn { + #[inline] + pub const fn name() -> &'static ::std::ffi::CStr { + unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_NV_low_latency\0") } + } + pub const SPEC_VERSION: u32 = 1u32; +} +#[derive(Clone)] +pub struct NvLowLatencyFn {} +unsafe impl Send for NvLowLatencyFn {} +unsafe impl Sync for NvLowLatencyFn {} +impl NvLowLatencyFn { + pub fn load(mut _f: F) -> Self + where + F: FnMut(&::std::ffi::CStr) -> *const c_void, + { + Self {} + } +} +#[doc = "Generated from 'VK_NV_low_latency'"] +impl StructureType { + pub const QUERY_LOW_LATENCY_SUPPORT_NV: Self = Self(1_000_310_000); +} impl ExtMetalObjectsFn { #[inline] pub const fn name() -> &'static ::std::ffi::CStr { diff --git a/generator/Vulkan-Headers b/generator/Vulkan-Headers index bd6443d28..a3dd2655a 160000 --- a/generator/Vulkan-Headers +++ b/generator/Vulkan-Headers @@ -1 +1 @@ -Subproject commit bd6443d28f2ebecedfb839b52d612011ba623d14 +Subproject commit a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2