Take the parked lane-mask change (#11) back out for now
Its programs translate and run, but on the test machine the lighting gain could not be shown, it costs about 40 ms of GPU time per frame, and the picture is being re-checked one change at a time from a known-good tree. It may come back once that is settled. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
4e17478b9c
commit
9e49b8a04e
2 files changed
+3
-56
No files matched your search
@@ -160,11 +160,6 @@ pub fn run(
|
||||
jobs: Option<usize>,
|
||||
) -> Result<()> {
|
||||
let paths = crate::default_paths(paths)?;
|
||||
// `VICTORY_HOST_MAX_WAVE=32`: translate as for a host whose waves have
|
||||
// at most 32 lanes (as the runtime does on such a card).
|
||||
if let Some(n) = std::env::var("VICTORY_HOST_MAX_WAVE").ok().and_then(|v| v.parse().ok()) {
|
||||
victory_shader::emit::set_host_max_wave(n);
|
||||
}
|
||||
let dll = validate.then(Validator::default_path).flatten();
|
||||
if validate {
|
||||
Validator::load(dll.as_deref()).map_err(anyhow::Error::msg)?;
|
||||
@@ -320,20 +315,6 @@ fn translate(
|
||||
// The hash a run's log names the shader by (`hash=` in "first bind",
|
||||
// "shader does not translate", "host pipeline refused").
|
||||
let hash = blake3::hash(&bytes).to_hex()[..16].to_owned();
|
||||
// Diagnostics: `VICTORY_TRANSLATE_ONLY=<hash prefix>,...` translates
|
||||
// those containers alone.
|
||||
static ONLY: std::sync::OnceLock<Vec<String>> = std::sync::OnceLock::new();
|
||||
let only = ONLY.get_or_init(|| {
|
||||
std::env::var("VICTORY_TRANSLATE_ONLY")
|
||||
.unwrap_or_default()
|
||||
.split(',')
|
||||
.map(|h| h.trim().to_lowercase())
|
||||
.filter(|h| !h.is_empty())
|
||||
.collect()
|
||||
});
|
||||
if !only.is_empty() && !only.iter().any(|o| hash.starts_with(o.as_str())) {
|
||||
return;
|
||||
}
|
||||
let example = || format!("{}{} #{hash}", path.display(), source.label());
|
||||
t.containers += 1;
|
||||
let Ok(container) = Container::parse(&bytes) else {
|
||||
|
||||
Reference in new issue
Block a user