Move shader lowering tests into their own module file #1460

Manually merged
github merged 1 commit from github-bot/gh-1460 into main 2026-11-29 08:20:40 +00:00 AGit
Owner

@⁠ANDREANIADS on GitHub · 2026-11-28 20:21 UTC · original
ANDREANIADS:qa/1429-shader-module-size → main · +779 −780 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC

Addresses #1429. Move the existing #[cfg(test)] tests from emit/lower.rs to emit/lower/tests.rs under the same module. The test bodies match line for line after removing their original indentation. lower.rs shrinks from 667,523 to 638,947 bytes (limit 655,360).

Verified on Linux at base 923e38c: cargo xtask policy passed for 307 files, cargo xtask policy --staged passed for the two changed files, and cargo test --locked -p xtask repository_passes_policy passed. cargo test --locked -p victory-shader --lib passed 249 tests with 2 ignored. git diff --cached --check passed. Windows and GPU execution were outside this source-only change.

**@⁠ANDREANIADS** on GitHub · 2026-11-28 20:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1460) `ANDREANIADS:qa/1429-shader-module-size` → `main` · +779 −780 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC Addresses #1429. Move the existing `#[cfg(test)]` tests from `emit/lower.rs` to `emit/lower/tests.rs` under the same module. The test bodies match line for line after removing their original indentation. `lower.rs` shrinks from 667,523 to 638,947 bytes (limit 655,360). Verified on Linux at base `923e38c`: `cargo xtask policy` passed for 307 files, `cargo xtask policy --staged` passed for the two changed files, and `cargo test --locked -p xtask repository_passes_policy` passed. `cargo test --locked -p victory-shader --lib` passed 249 tests with 2 ignored. `git diff --cached --check` passed. Windows and GPU execution were outside this source-only change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 20:22:57 +00:00
github manually merged commit 8a6cfac10d into main 2026-11-29 08:20:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1460
No description provided.