More logging for instance creation

This commit is contained in:
hodasemi 2023-02-21 18:45:43 +01:00
parent 8626d23f88
commit 8e09841dad

View file

@ -144,6 +144,8 @@ pub(crate) extern "system" fn create_instance(
// DXVK workaround, it creates the instance twice with different properties
if ext_names.contains(&VkString::new("VK_KHR_surface")) {
write_log!("found VK_KHR_surface");
unsafe {
let panic_result =
match std::panic::catch_unwind(|| -> anyhow::Result<std::sync::Arc<Instance>> {
@ -178,6 +180,8 @@ pub(crate) extern "system" fn create_instance(
write_log!("-> created local instance handle");
}
write_log!("returning from create_instance");
VK_SUCCESS
}