mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-29 03:48:40 +00:00
fx
This commit is contained in:
@@ -825,8 +825,7 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Device::ReportLoss() const {
|
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) {
|
if (extensions.device_fault) {
|
||||||
VkDeviceFaultCountsEXT fault_counts{
|
VkDeviceFaultCountsEXT fault_counts{
|
||||||
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
||||||
@@ -874,8 +873,7 @@ void Device::ReportLoss() const {
|
|||||||
s += "\n";
|
s += "\n";
|
||||||
}
|
}
|
||||||
LOG_INFO(Render_Vulkan, "{}", s);
|
LOG_INFO(Render_Vulkan, "{}", s);
|
||||||
} else if ()
|
}
|
||||||
|
|
||||||
// Wait for the log to flush and for Nsight Aftermath to dump the results
|
// Wait for the log to flush and for Nsight Aftermath to dump the results
|
||||||
std::this_thread::sleep_for(std::chrono::seconds{15});
|
std::this_thread::sleep_for(std::chrono::seconds{15});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user