Win32: Plumb through an attempt at handling Vulkan device lost.

Unfortunately, recreating the device fails on NV.
This commit is contained in:
Henrik Rydgård committed 2023-05-29 18:32:29 +02:00
1 parent f33776bc4a
commit 485131a29c
23 files changed
+184 -43

No files matched your search

+8
View File
@@ -76,6 +76,14 @@ VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
// Extended validation (ARM best practices)
// Non-fifo validation not recommended
return false;
// These get triggered during the device lost simulation. Ignore.
case -556648736:
case 1812873262:
case 337425955:
WARN_LOG(G3D, "Validation message %d typical of device lost simulation, ignoring.", messageCode);
return false;
default:
break;
}