mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 19:39:57 -04:00
Add --probe-meshfb, which draws mesh programs through the mesh pipeline and through the fallback and compares the pictures.
The probe's programs are written in the shape the translator gives a task or mesh program and need no game files. With a folder of game translations it converts those instead and builds their compute pipelines. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
// --probe-prewarm the boot's pipeline stages from the caches next to the executable, the memory each leaves and
|
||||
// what a compute pipeline's first dispatch costs; skips without recorded shaders, runs no game
|
||||
// --probe-astc the compute ASTC decoder against astc_decode_ldr; needs no game files
|
||||
// --probe-meshfb the mesh shader fallback: mesh programs drawn through VK_EXT_mesh_shader and through compute
|
||||
// passes, the pictures compared; needs no game files (mesh_fb_probe.c)
|
||||
// --probe-zstd host zstd streams (ov_zstd.c) on frames made here; needs no game files
|
||||
// --probe-input gamepad polls on a virtual gamepad, also while SDL's update takes long; needs no game files
|
||||
// --probe-movie the host movie decoders on one RomFS movie (VP9 movie::Decoder, AV1 movie::VideoDecoder); skips without game data
|
||||
@@ -533,7 +535,7 @@ static int usage(const char *argv0) {
|
||||
fprintf(stderr, "usage: %s [--exefs DIR] [--romfs DIR] [--profile DIR] [--audio-device VALUE] [--monitor VALUE] [--list-audio-devices | --list-monitors | --selftest | --probe-loader | "
|
||||
"--probe-cfg | --probe-dpi | --probe-mods | --probe-kernel | --probe-ipc | --probe-services | --probe-fs | --probe-gfx-abi | "
|
||||
"--probe-nvn | --probe-nvn-tex | --probe-window | --probe-shader | --probe-vkmem | "
|
||||
"--probe-vkexec | --probe-astc | --probe-zstd | --probe-input | --probe-movie | --probe-crash-call | --probe-crash-null | --probe-discord | --probe-coop | "
|
||||
"--probe-vkexec | --probe-meshfb | --probe-astc | --probe-zstd | --probe-input | --probe-movie | --probe-crash-call | --probe-crash-null | --probe-discord | --probe-coop | "
|
||||
"--prepare-shaders | --warm-shaders | --prepare-pipelines | --probe-prewarm | --probe-buildgate | --probe-memneed | --probe-devlost | --boot |--seconds S [--shot PNG]]\n", argv0);
|
||||
return 2;
|
||||
}
|
||||
@@ -682,6 +684,7 @@ int main(int argc, char **argv) {
|
||||
if (!strcmp(mode, "--probe-shader")) return probe_shader();
|
||||
if (!strcmp(mode, "--probe-vkmem")) return probe_vkmem();
|
||||
if (!strcmp(mode, "--probe-vkexec")) return probe_vkexec();
|
||||
if (!strcmp(mode, "--probe-meshfb")) return probe_meshfb();
|
||||
if (!strcmp(mode, "--probe-astc")) return probe_astc();
|
||||
if (!strcmp(mode, "--probe-zstd")) return probe_zstd();
|
||||
if (!strcmp(mode, "--probe-input")) return probe_gamepad();
|
||||
|
||||
Reference in New Issue
Block a user