shader(lower): extract inline unit tests into emit/lower_tests.rs #77
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!77
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/77/head"
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?
@Androtim on GitHub · 2026-11-29 04:20 UTC · original
Androtim:feat/iter78-split-lower-tests→main· +909 −906 · 2 files · 1 commits · merged 2026-11-29 05:04 UTCSummary
Restores \origin/main\ (\
1ab5d84) under \xtask policy's 655,360-byte (640 KiB) per-file limit with zero behavioral change:Verification (@ $sha)
@Androtim on GitHub · 2026-11-29 05:03 UTC · original
Automated triage for the maintainers (not an approval).
Verdict:
merge-candidate· CI (check):passingReview Summary
crates/victory-shader/src/emit/lower.rsreplaces the inline#[cfg(test)] mod tests { ... }block (904 body lines) with#[cfg(test)] #[path = "lower_tests.rs"] mod tests;, moving all 18 tests and helpers verbatim intocrates/victory-shader/src/emit/lower_tests.rs(plus a 2-line module doc comment).#[path = "lower_tests.rs"] mod tests;keeps the exact same module path (crate::emit::lower::tests),super::resolution, and item visibility (includingpub(crate) fn texture_and_uav_tables) as the inline module.lower.rsback under thextaskper-file size cap without conflicting with other open shader PRs. No local GPU smoke test is needed.Verdict:
merge-candidate(automated triage review; not formal maintainer approval).Generated with Antigravity CLI (
agy).