pub(crate) fn cmd_compile_shaders(
directory: PathBuf,
output: Option<PathBuf>,
) -> Result<()>Expand description
Iterate .milk files in directory, attempt to compile each preset’s
comp_shader HLSL through the user-shader pipeline, and write a CSV
report (name,has_comp_shader,parse_ok,compile_ok,error_kind,error_excerpt).
Acceptance criterion: with the post-naga AST translator, ≥30% of in-the-wild presets should compile. With the current regex-based translator the rate is much lower; this command makes the gap quantifiable and locks a baseline.