Extract vector ALU lowering to keep shader files under the size limit #117

Closed
enriquebruno12 wants to merge 1 commit from upstream-pr/117 into main
enriquebruno12 commented 2026-11-25 14:33:36 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by enriquebruno12 on 2026-11-25T14:33:36Z.


Move vector ALU lowering methods into lower/valu.rs. Both files now fit within the 524,288-byte limit.

Verified on Windows:

  • cargo xtask policy passed.
  • cargo test --locked --offline -p victory-shader --all-features --lib -- --test-threads=1: 266 passed, 0 failed, 6 ignored.
<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:6606883579 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/117). Originally posted by [enriquebruno12](https://github.com/enriquebruno12) on 2026-11-25T14:33:36Z. --- Move vector ALU lowering methods into `lower/valu.rs`. Both files now fit within the 524,288-byte limit. Verified on Windows: - `cargo xtask policy` passed. - `cargo test --locked --offline -p victory-shader --all-features --lib -- --test-threads=1`: 266 passed, 0 failed, 6 ignored.
enriquebruno12 commented 2026-11-25 14:39:50 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by enriquebruno12 on 2026-11-25T14:39:50Z.


Closing in favor of #84, which already addresses the same file-size limit.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:comment:7165621623 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/117#issuecomment-7165621623). Originally posted by [enriquebruno12](https://github.com/enriquebruno12) on 2026-11-25T14:39:50Z. --- Closing in favor of #84, which already addresses the same file-size limit.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Belobug/VIctory-Belobug-AMD!117
No description provided.