mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 23:47:03 +02:00
fx
This commit is contained in:
parent
2156064bdd
commit
8788034c4c
1 changed files with 2 additions and 4 deletions
|
|
@ -771,8 +771,7 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags
|
|||
}
|
||||
|
||||
void Device::ReportLoss() const {
|
||||
LOG_CRITICAL(Render_Vulkan, "Device loss occurred!");
|
||||
|
||||
LOG_CRITICAL(Render_Vulkan, "Device loss occurred! {},{}", extensions.device_fault, properties.device_fault.deviceFault);
|
||||
if (extensions.device_fault) {
|
||||
VkDeviceFaultCountsEXT fault_counts{
|
||||
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
||||
|
|
@ -820,8 +819,7 @@ void Device::ReportLoss() const {
|
|||
s += "\n";
|
||||
}
|
||||
LOG_INFO(Render_Vulkan, "{}", s);
|
||||
} else if ()
|
||||
|
||||
}
|
||||
// Wait for the log to flush and for Nsight Aftermath to dump the results
|
||||
std::this_thread::sleep_for(std::chrono::seconds{15});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue