Take out the GPU address history of a lost device's report.

The author of the pull request it was ported from closed that request on 2026-11-11 with the words that they give no
permission to use its code. The history (NX2NAVI_VA_REPORT, runtime/vk_vaddr.c, the stack walk it used and its notes
in the docs and the example settings) goes; the lost device's report keeps the breadcrumbs, the pass marks, the video
memory and the driver's fault information.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-11 08:18:55 -05:00
parent 3d394dd84e
commit bdc67cebfc
9 changed files with 5 additions and 69 deletions

View File

@@ -1594,13 +1594,6 @@ int plat_module_of(uintptr_t addr, char *name, size_t cap, uintptr_t *base) {
return WideCharToMultiByte(CP_UTF8, 0, n, -1, name, (int)cap, NULL, NULL) != 0;
}
int plat_stack(uintptr_t *pc, int max) {
void *f[62];
USHORT n = RtlCaptureStackBackTrace(1, max < 62 ? (DWORD)max : 62, f, NULL);
for (USHORT i = 0; i < n; i++) pc[i] = (uintptr_t)f[i];
return n;
}
int plat_exe_path(char *out, size_t cap) {
wchar_t w[WPATH];
DWORD n = GetModuleFileNameW(NULL, w, WPATH);