Refactor Vulkan instance and physical device formatting for better clarity. Added formatter utilities to encapsulate version and property formatting. Updated logging to use the new formatted output for improved debug readability.
This commit is contained in:
parent
b7d0abb9ed
commit
b91571e777
5 changed files with 88 additions and 19 deletions
src/display
|
@ -28,7 +28,7 @@ impl App {
|
|||
log::info!("Initializing Vulkan instance");
|
||||
let instance = VkInstance::new(&required_extensions);
|
||||
log::info!("Vulkan instance created");
|
||||
log::info!("\t{}", instance);
|
||||
log::info!("{instance}");
|
||||
|
||||
let surface = instance.create_surface(&self.window)
|
||||
.expect("Unable to create surface");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue