Merge local/shaders
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
7ab355413d
11 files changed
+1281
-104
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user