refactor(shader): split emit/lower.rs under 640 KiB asset-policy cap #416
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T02:11:50Z.
Summary
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.
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T02:32:16Z.
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).