Add improved GPU crashes reporting

This commit is contained in:
2025-01-24 22:56:52 +01:00
parent d4c72487cd
commit d501018feb
9 changed files with 132 additions and 140 deletions
@@ -140,6 +140,12 @@ API_ENUM() enum class FatalErrorType
Assertion,
// Program run out of memory to allocate.
OutOfMemory,
// The graphics device crashed, has been removed or restarted.
GPUCrash,
// The graphics device stopped responding (eg. incorrect rendering code or bug in driver).
GPUHang,
// The graphics device run out of video memory to allocate.
GPUOutOfMemory,
};
API_INJECT_CODE(cpp, "#include \"Engine/Platform/Platform.h\"");