refactor(shader): split emit/lower.rs under 640 KiB asset-policy cap #416
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!416
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-416"
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-12-04 02:11 UTC · original
Androtim:chore/split-emit-lower→main· +4505 −4473 · 4 files · 1 commits · merged 2026-12-04 02:32 UTCSummary
Pure structural refactor (zero behavioral changes) of \crates/victory-shader/src/emit/lower.rs\ to unblock Windows
elease.yml, where \lower.rs\ reached \661,845\ bytes (CRLF) and exceeded \xtask/src/policy.rs's \655,360-byte (640 KiB) single-file asset-policy cap (\cargo xtask policy).
No policy limits were modified.
Extracted Submodules
Moved three cohesive \impl Lower<'_>\ method groups into child modules under \crates/victory-shader/src/emit/lower/:
File Sizes (Windows CRLF)
Verification
Verified locally with +1.98.1-x86_64-pc-windows-gnu:
ect::tests::the_rectangle_stage_is_a_geometry_shader,
ect::tests::rectangles_are_drawn_whole, \arycentric_tests::first_half_values_render_on_hardware_and_warp) unrelated to \lower.rs.
9cbceb753etoc00c8063f1c00c8063f1to608b314757@Androtim on GitHub · 2026-12-04 02:32 UTC · original
Audited
#416(608b3147, CIcheckPASS,cargo xtask policyPASS363 files ok): pure structural split ofcrates/victory-shader/src/emit/lower.rs(661,845 -> 469,045bytes CRLF,~182 KiBheadroom) intolower/{valu,image,buffer}.rswith zero behavioral changes. Merging via squash to unblockrelease.yml(v2026.12.04.03queued oncemainCI finishes green).