Move shader lowering tests into their own module file #1460
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1460"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ANDREANIADS on 2026-11-28T20:21:09Z.
Addresses #1429. Move the existing
#[cfg(test)]tests fromemit/lower.rstoemit/lower/tests.rsunder the same module. The test bodies match line for line after removing their original indentation.lower.rsshrinks from 667,523 to 638,947 bytes (limit 655,360).Verified on Linux at base
923e38c:cargo xtask policypassed for 307 files,cargo xtask policy --stagedpassed for the two changed files, andcargo test --locked -p xtask repository_passes_policypassed.cargo test --locked -p victory-shader --libpassed 249 tests with 2 ignored.git diff --cached --checkpassed. Windows and GPU execution were outside this source-only change.