Release Linux NGX before destroying the Vulkan device

This commit is contained in:
Michael Schienbein
2026-11-09 14:21:16 -06:00
committed by chrg6
parent 4cb1a56e6c
commit 033bf85625
4 changed files with 113 additions and 9 deletions

View File

@@ -258,6 +258,8 @@ change passes these, all run with `.venv`:
A `--cpu v2` build passes the same differential tests with `--cflags=-march=x86-64-v2`; they compile `runtime/fma.c`
too, so they check the software fma the v2 build links rather than the C runtime's.
On NVIDIA Linux, `NX2NAVI_DLAA=1 ./ocarina --probe-vkdevice` logs NGX initialization and shutdown when available.
Runtime probes, each a mode of `nx2navi.exe` (the list is at the top of `runtime/main.c`): `--probe-kernel`,
`--probe-vkexec`, `--probe-nvn-tex` and `--probe-shader` cover most runtime changes. `--probe-shader` and the draw
part of `--probe-vkexec` translate shaders of the census below: they look for `build/<ver>/shaders/jobs.json` of the