Added DescriptorIndexing extension (just name for now), and also added names for VK_KHR_get_memory_requirements2 and VK_KHR_get_physical_device_properties2 (both are commonly used, and required for ray tracing)
This commit is contained in:
parent
f348ddc33e
commit
011e9e611f
10
ash/src/extensions/ext/descriptor_indexing.rs
Normal file
10
ash/src/extensions/ext/descriptor_indexing.rs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
use std::ffi::CStr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
|
pub struct DescriptorIndexing {}
|
||||||
|
|
||||||
|
impl DescriptorIndexing {
|
||||||
|
pub fn name() -> &'static CStr {
|
||||||
|
CStr::from_bytes_with_nul(b"VK_EXT_descriptor_indexing\0").expect("Wrong extension string")
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,19 @@
|
||||||
pub use self::debug_marker::DebugMarker;
|
pub use self::debug_marker::DebugMarker;
|
||||||
pub use self::debug_report::DebugReport;
|
pub use self::debug_report::DebugReport;
|
||||||
pub use self::debug_utils::DebugUtils;
|
pub use self::debug_utils::DebugUtils;
|
||||||
|
pub use self::descriptor_indexing::DescriptorIndexing;
|
||||||
|
|
||||||
mod debug_marker;
|
mod debug_marker;
|
||||||
mod debug_report;
|
mod debug_report;
|
||||||
mod debug_utils;
|
mod debug_utils;
|
||||||
|
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")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue