Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Introduce the VkLogicalDevice struct and add surface creation logic in VkInstance. Also, import necessary extensions and refine Vulkan physical device and window handling. Included a dependency on 'anyhow' for error management.
11 lines
263 B
Rust
11 lines
263 B
Rust
mod layers;
|
|
pub use layers::use_layers;
|
|
|
|
pub fn print_version(version: u32) -> String {
|
|
format!(
|
|
"{}.{}.{}",
|
|
ash::vk::api_version_major(version),
|
|
ash::vk::api_version_minor(version),
|
|
ash::vk::api_version_patch(version)
|
|
)
|
|
}
|