pub(crate) fn cmd_dump_shader(
preset_path: PathBuf,
kind: DumpKind,
) -> Result<()>Expand description
Run a preset’s warp_shader / comp_shader HLSL through the
translator and print the resulting WGSL on stdout. Failures print
the translator’s error to stderr and continue (so --kind=both
still emits the other shader). Exit code is non-zero only when
nothing at all could be emitted.