Merge local/shaders

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 22:21:05 -06:00
commit 7ab355413d
11 files changed
+1281 -104

No files matched your search

+6
View File
@@ -598,6 +598,12 @@ fn check(
if let Some(keep) = &checks.keep {
lock(keep).push((label(), shader.clone()));
}
// With `--list`: a hash of the module and of what the host binds for it,
// to show which shaders a change to the translator touches.
if t.list {
let hash = blake3::hash(format!("{shader:?}").as_bytes()).to_hex();
t.lines.push(format!("{} emitted {}", label(), &hash[..16]));
}
// `VICTORY_EMIT_DUMP` with `--list`: every emitted shader as a file.
if t.list
&& let Ok(dir) = std::env::var("VICTORY_EMIT_DUMP")