Added maintenance 1-3 extension names to khr/mod.rs and moved KHR extension names from EXT to proper place.
This commit is contained in:
parent
3a76e81d3a
commit
09ee78401f
|
@ -8,12 +8,3 @@ mod debug_report;
|
||||||
mod debug_utils;
|
mod debug_utils;
|
||||||
mod descriptor_indexing;
|
mod descriptor_indexing;
|
||||||
|
|
||||||
pub fn memory_requirements2_name() -> &'static std::ffi::CStr {
|
|
||||||
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_get_memory_requirements2\0")
|
|
||||||
.expect("Wrong extension string")
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn physical_device_properties2_name() -> &'static std::ffi::CStr {
|
|
||||||
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_get_physical_device_properties2\0")
|
|
||||||
.expect("Wrong extension string")
|
|
||||||
}
|
|
||||||
|
|
|
@ -15,3 +15,28 @@ mod wayland_surface;
|
||||||
mod win32_surface;
|
mod win32_surface;
|
||||||
mod xcb_surface;
|
mod xcb_surface;
|
||||||
mod xlib_surface;
|
mod xlib_surface;
|
||||||
|
|
||||||
|
pub fn memory_requirements2_name() -> &'static std::ffi::CStr {
|
||||||
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_get_memory_requirements2\0")
|
||||||
|
.expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn physical_device_properties2_name() -> &'static std::ffi::CStr {
|
||||||
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_get_physical_device_properties2\0")
|
||||||
|
.expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn maintenance1_name() -> &'static std::ffi::CStr {
|
||||||
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0")
|
||||||
|
.expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn maintenance2_name() -> &'static std::ffi::CStr {
|
||||||
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0")
|
||||||
|
.expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn maintenance3_name() -> &'static std::ffi::CStr {
|
||||||
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0")
|
||||||
|
.expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue